ReactNavigation:如何在导航器中禁用所有标题/导航和仅查看屏幕?

时间:2018-07-23 11:52:16

标签: react-native wix-react-native-navigation

我有一个递归反应导航器,我想以“全屏”模式看到一个特定的屏幕,即没有所有导航器选项卡。

我的导航器是:

createSwitchNavigator({
...
App: createDrawerNavigator({
  Main: createBottomTabNavigator({
    Dashboard: {
      screen: createStackNavigator({
        Dashboard: createMaterialTopTabNavigator({
          DashboardDevice: {
            screen: createStackNavigator({
              Device: dashboardDeviceScreen,
              DeviceDetail: dashboardDeviceDetailScreen,
            }, deviceStackOptions),
            navigationOptions: { title: 'DISPOSITIVI' },
          },
        }, dashboardTopOptions),
      }, dashboardStackOptions),
      navigationOptions: dashboardOptions,
    },
    ...
  }, mainBottomTabOptions),
}, drawerOptions),

当我导航到 DeviceDetail 时,我不希望看到所有导航器选项卡,而只希望看到带有backButton的屏幕。

谢谢

0 个答案:

没有答案