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 ecd3d95 commit 49396aaCopy full SHA for 49396aa
Libraries/Image/ImageBackground.js
@@ -17,8 +17,6 @@ const View = require('View');
17
18
const ensureComponentIsNative = require('ensureComponentIsNative');
19
20
-import type {NativeMethodsMixinType} from 'ReactNativeTypes';
21
-
22
/**
23
* Very simple drop-in replacement for <Image> which supports nesting views.
24
*
@@ -53,7 +51,7 @@ class ImageBackground extends React.Component<$FlowFixMeProps> {
53
51
}
54
52
55
56
- _viewRef: ?NativeMethodsMixinType = null;
+ _viewRef: ?React.ElementRef<typeof View> = null;
57
58
_captureRef = ref => {
59
this._viewRef = ref;
0 commit comments