mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-13 17:47:32 +08:00
Add more tabs to make it easy to play with backBehavior
This commit is contained in:
@@ -34,8 +34,17 @@ export default createBottomTabNavigator(
|
||||
screen: Screen,
|
||||
params: { title: 'Second One', icon: 'aperture' },
|
||||
},
|
||||
C: {
|
||||
screen: Screen,
|
||||
params: { title: 'Third One', icon: 'award' },
|
||||
},
|
||||
D: {
|
||||
screen: Screen,
|
||||
params: { title: 'Fourth One', icon: 'bell' },
|
||||
},
|
||||
},
|
||||
{
|
||||
backBehavior: 'history',
|
||||
tabBarOptions: {
|
||||
activeTintColor: '#000',
|
||||
inactiveTintColor: '#eee',
|
||||
|
||||
Reference in New Issue
Block a user