mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
Upgrade fbsource/xplat/js to Flow v0.53.0
Reviewed By: avikchaudhuri Differential Revision: D5648819 Ninja: T20988071 fbshipit-source-id: 66e5b6747c79ae66b6eb69d40ede5e982c26174f
This commit is contained in:
committed by
Facebook Github Bot
parent
1ce7e4c1e5
commit
90eaeb019b
@@ -24,7 +24,7 @@ var blank = {
|
||||
bottom: 0,
|
||||
};
|
||||
|
||||
class BoxInspector extends React.Component {
|
||||
class BoxInspector extends React.Component<$FlowFixMeProps> {
|
||||
render() {
|
||||
var frame = this.props.frame;
|
||||
var style = this.props.style;
|
||||
@@ -47,15 +47,14 @@ class BoxInspector extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
class BoxContainer extends React.Component {
|
||||
class BoxContainer extends React.Component<$FlowFixMeProps> {
|
||||
render() {
|
||||
var box = this.props.box;
|
||||
return (
|
||||
<View style={styles.box}>
|
||||
<View style={styles.row}>
|
||||
{/* $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. */}
|
||||
{
|
||||
}
|
||||
<Text style={[this.props.titleStyle, styles.label]}>{this.props.title}</Text>
|
||||
<Text style={styles.boxText}>{box.top}</Text>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user