0

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

我的导航器是:

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时,我不想看到所有导航器选项卡,而只想看到带有后退按钮的屏幕。

谢谢

4

0 回答 0