0.87.0 in xplat/js

Summary: allow-large-files

Reviewed By: samwgoldman

Differential Revision: D13230018

fbshipit-source-id: f07e2371a3b7382de0592cc7c7b20e7f4faa6889
This commit is contained in:
Panagiotis Vekris
2018-11-28 17:30:35 -08:00
committed by Facebook Github Bot
parent 585f7b916d
commit ef2084c6bd
11 changed files with 38 additions and 12 deletions

View File

@@ -231,6 +231,9 @@ class DrawerLayoutAndroid extends React.Component<Props, State> {
return (
<AndroidDrawerLayout
{...props}
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
ref={this._nativeRef}
drawerWidth={this.props.drawerWidth}
drawerPosition={this.props.drawerPosition}
@@ -322,18 +325,30 @@ class DrawerLayoutAndroid extends React.Component<Props, State> {
* Native methods
*/
blur() {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).blur();
}
focus() {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).focus();
}
measure(callback: MeasureOnSuccessCallback) {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).measure(callback);
}
measureInWindow(callback: MeasureInWindowOnSuccessCallback) {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).measureInWindow(callback);
}
@@ -342,6 +357,9 @@ class DrawerLayoutAndroid extends React.Component<Props, State> {
onSuccess: MeasureLayoutOnSuccessCallback,
onFail?: () => void,
) {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).measureLayout(
relativeToNativeNode,
onSuccess,
@@ -350,6 +368,9 @@ class DrawerLayoutAndroid extends React.Component<Props, State> {
}
setNativeProps(nativeProps: Object) {
/* $FlowFixMe(>=0.87.0 site=react_native_android_fb) This comment
* suppresses an error found when Flow v0.87 was deployed. To see the
* error, delete this comment and run Flow. */
nullthrows(this._nativeRef.current).setNativeProps(nativeProps);
}
}