mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Ported TabBarIOS to OSS and unified implementation
This commit is contained in:
29
Libraries/Components/TabBarIOS/TabBarIOS.android.js
Normal file
29
Libraries/Components/TabBarIOS/TabBarIOS.android.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user