diff --git a/Libraries/Components/TabBarIOS/TabBarIOS.ios.js b/Libraries/Components/TabBarIOS/TabBarIOS.ios.js index 9922f10b0..c373bc57a 100644 --- a/Libraries/Components/TabBarIOS/TabBarIOS.ios.js +++ b/Libraries/Components/TabBarIOS/TabBarIOS.ios.js @@ -20,19 +20,22 @@ const ViewPropTypes = require('ViewPropTypes'); var requireNativeComponent = require('requireNativeComponent'); -class TabBarIOS extends React.Component<{ - style?: $FlowFixMe, - unselectedTintColor?: $FlowFixMe, - tintColor?: $FlowFixMe, - unselectedItemTintColor?: $FlowFixMe, - barTintColor?: $FlowFixMe, +import type {StyleObj} from 'StyleSheetTypes'; +import type {ViewProps} from 'ViewPropTypes'; + +class TabBarIOS extends React.Component { static Item = TabBarItemIOS; - // $FlowFixMe(>=0.41.0) static propTypes = { ...ViewPropTypes, style: ViewPropTypes.style, @@ -85,9 +88,7 @@ class TabBarIOS extends React.Component<{ barStyle={this.props.barStyle} itemPositioning={this.props.itemPositioning} translucent={this.props.translucent !== false}> - { - // $FlowFixMe found when converting React.createClass to ES6 - this.props.children} + {this.props.children} ); }