Add more tabs to make it easy to play with backBehavior

This commit is contained in:
Brent Vatne
2019-02-08 18:01:16 -08:00
parent 4f79a705e5
commit 2da2310988

View File

@@ -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',