mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-04 21:09:21 +08:00
Deploy v0.89
Reviewed By: jbrown215 Differential Revision: D13457087 fbshipit-source-id: 9f01371ae3515990c5595f1eb2361174050066b8
This commit is contained in:
committed by
Facebook Github Bot
parent
ac30f64ae5
commit
24f8d4d3db
@@ -89,15 +89,20 @@ const ProgressBarAndroid = (
|
||||
return <AndroidProgressBar {...props} ref={forwardedRef} />;
|
||||
};
|
||||
|
||||
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
|
||||
const ProgressBarAndroidToExport = React.forwardRef(ProgressBarAndroid);
|
||||
|
||||
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
|
||||
* error found when Flow v0.89 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
ProgressBarAndroidToExport.defaultProps = {
|
||||
styleAttr: 'Normal',
|
||||
indeterminate: true,
|
||||
animating: true,
|
||||
};
|
||||
|
||||
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
|
||||
* error found when Flow v0.89 was deployed. To see the error, delete this
|
||||
* comment and run Flow. */
|
||||
module.exports = (ProgressBarAndroidToExport: Class<
|
||||
NativeComponent<ProgressBarAndroidProps>,
|
||||
>);
|
||||
|
||||
Reference in New Issue
Block a user