mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-13 17:47:32 +08:00
refactor: don't pass orientation to label
This commit is contained in:
@@ -49,7 +49,10 @@ export default function BottomTabsScreen() {
|
||||
name="chat"
|
||||
component={Chat}
|
||||
options={{
|
||||
title: 'Chat',
|
||||
tabBarLabel: props => {
|
||||
console.log(props);
|
||||
return null;
|
||||
},
|
||||
tabBarIcon: getTabBarIcon('message-reply'),
|
||||
tabBarButtonComponent: TouchableBounce,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user