mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #17713 from iRoachie/component-props
[react-native] Add state type to React.Component generic
This commit is contained in:
Vendored
+2
-2
@@ -336,7 +336,7 @@ export interface NativeMethodsMixinStatic {
|
||||
blur(): void;
|
||||
|
||||
refs: {
|
||||
[key: string]: React.Component<any>
|
||||
[key: string]: React.Component<any, any>
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8858,7 +8858,7 @@ export function requireNativeComponent<P>(
|
||||
extraConfig?: {nativeOnly?: any}
|
||||
): React.ComponentClass<P>;
|
||||
|
||||
export function findNodeHandle(componentOrHandle: null | number | React.Component<any> | React.ComponentClass<any>): null | number;
|
||||
export function findNodeHandle(componentOrHandle: null | number | React.Component<any, any> | React.ComponentClass<any>): null | number;
|
||||
|
||||
export function processColor(color: any): number;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user