📜  带有 createBottomTabNavigator 的 headerBar - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:59.592000             🧑  作者: Mango

代码示例1
const StackA = createStackNavigator({ ScreenA },
{
  defaultNavigationOptions: (navigationOptions),
  navigationOptions: {
    tabBarLabel: 'Screen A',
  },
});

const StackB = createStackNavigator({ScreenA},
{
  defaultNavigationOptions: (navigationOptions),
  navigationOptions: {
    tabBarLabel: 'Screen B',
  },
});

const tabNavigator = createBottomTabNavigator({StackA, StackB});