mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
committed by
Facebook Github Bot
parent
bb98fddbec
commit
30d9c3d279
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user