Add suppressions for Flow v0.53.0 before React changes

Reviewed By: avikchaudhuri

Differential Revision: D5648801

fbshipit-source-id: c4eb1bee198a177b69b6e9414111ce957b4d27ff
This commit is contained in:
Caleb Meredith
2017-08-17 05:07:37 -07:00
committed by Facebook Github Bot
parent bb98fddbec
commit 30d9c3d279
18 changed files with 136 additions and 3 deletions

View File

@@ -52,6 +52,9 @@ class Button extends React.Component {
onHideUnderlay={this._onUnhighlight}
onPress={this.props.onPress}
onShowUnderlay={this._onHighlight}
/* $FlowFixMe(>=0.53.0 site=react_native_fb) This comment suppresses an
* error found when Flow v0.53 was deployed. To see the error delete
* this comment and run Flow. */
style={[styles.button, this.props.style]}
underlayColor="#a9d9d4">
<Text style={[styles.buttonText, colorStyle]}>{this.props.children}</Text>