2015-03-06 09:54:10 -08:00
|
|
|
/**
|
2015-03-23 15:07:33 -07:00
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-03-06 09:54:10 -08:00
|
|
|
*
|
2018-05-10 19:06:46 -07:00
|
|
|
* @format
|
2017-03-06 09:53:32 -08:00
|
|
|
* @flow
|
2015-03-06 09:54:10 -08:00
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
2017-03-06 09:53:32 -08:00
|
|
|
const React = require('React');
|
|
|
|
const StyleSheet = require('StyleSheet');
|
|
|
|
const TabBarItemIOS = require('TabBarItemIOS');
|
|
|
|
const View = require('View');
|
2015-03-06 09:54:10 -08:00
|
|
|
|
2017-08-17 18:36:54 -07:00
|
|
|
class DummyTabBarIOS extends React.Component<$FlowFixMeProps> {
|
2017-03-06 09:53:32 -08:00
|
|
|
static Item = TabBarItemIOS;
|
|
|
|
|
2016-07-26 01:00:02 -07:00
|
|
|
render() {
|
2015-03-06 09:54:10 -08:00
|
|
|
return (
|
|
|
|
<View style={[this.props.style, styles.tabGroup]}>
|
|
|
|
{this.props.children}
|
|
|
|
</View>
|
|
|
|
);
|
|
|
|
}
|
2016-07-26 01:00:02 -07:00
|
|
|
}
|
2015-03-06 09:54:10 -08:00
|
|
|
|
2017-03-06 09:53:32 -08:00
|
|
|
const styles = StyleSheet.create({
|
2015-03-06 09:54:10 -08:00
|
|
|
tabGroup: {
|
|
|
|
flex: 1,
|
2018-05-10 19:06:46 -07:00
|
|
|
},
|
2015-03-06 09:54:10 -08:00
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = DummyTabBarIOS;
|