mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
61b8c61903
- [react_native] JS files for D1885531 | Martin Konicek - Ported TabBarIOS to OSS and unified implementation | Nick Lockwood - [react-packager] Add minify option as query param | Amjad Masad - [ReactNative] Fix ExpandingText prop types | Christopher Chedeau - [react-packager] Make dev a query param option | Amjad Masad
30 lines
508 B
JavaScript
30 lines
508 B
JavaScript
/**
|
|
* Copyright 2004-present Facebook. All Rights Reserved.
|
|
*
|
|
* @providesModule TabBarIOS
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var React = require('React');
|
|
var View = require('View');
|
|
var StyleSheet = require('StyleSheet');
|
|
|
|
var DummyTabBarIOS = React.createClass({
|
|
render: function() {
|
|
return (
|
|
<View style={[this.props.style, styles.tabGroup]}>
|
|
{this.props.children}
|
|
</View>
|
|
);
|
|
}
|
|
});
|
|
|
|
var styles = StyleSheet.create({
|
|
tabGroup: {
|
|
flex: 1,
|
|
}
|
|
});
|
|
|
|
module.exports = DummyTabBarIOS;
|