Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- navigationOptions: ({ navigation }) => {
- const { routeName, routes } = navigation.state;
- let params = routes && routes[1] && routes[1].params;
- return {
- tabBarVisible:
- params && params.hideTabBar != null ? !params.hideTabBar : true,
- swipeEnabled:
- params && params.hideTabBar != null ? !params.hideTabBar : true
- };
- },
Add Comment
Please, Sign In to add comment