We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73361e0 commit 43abbd3Copy full SHA for 43abbd3
generatedTypes/components/image/index.d.ts
@@ -132,5 +132,5 @@ declare const _default: React.ComponentClass<RNImageProps & Partial<Record<"marg
132
errorSource?: number | import("react-native").ImageURISource | import("react-native").ImageURISource[] | undefined;
133
} & {
134
useCustomTheme?: boolean | undefined;
135
-}, any>;
+}, any> & typeof Image;
136
export default _default;
src/components/image/index.tsx
@@ -213,4 +213,4 @@ const styles = StyleSheet.create({
213
214
hoistNonReactStatic(Image, RNImage);
215
export {Image};
216
-export default asBaseComponent<ImageProps>(Image);
+export default asBaseComponent<ImageProps, typeof Image>(Image);
0 commit comments