导航器嵌套时,如何控制反应导航中的标题?

时间:2018-12-15 12:13:44

标签: react-native react-redux react-navigation

我正在使用这样的嵌套导航:

 ->StackNavigator 
      ->MainScreen
        ->DrawerNavigator
           ->example1Screen
              ->createBottomTabNavigator
                 ->ListScreen
                 ->EditScreen
           ->example2Screen
              ->createSwitchNavigator
                 ->createMaterialTopTabNavigator
                    ->AllScreen
                    ->VideosScreen
                    ->QuotesScreen
                 ->createStackNavigator
                    ->DetailScreen
      ->AppDetailScreen
         ->createMaterialBottomTabNavigator
            ->DescriptionScreen
            ->centerScreen
      ->AuthScreens
         ->createBottomTabNavigator
            ->SigninScreen
            ->SignUpscreen

我正在遵循这种模式。如何控制特定堆栈的标头。例如,我使用DrawerNavigator,如何在那里控制标题。我正在尝试,但很快就空了

0 个答案:

没有答案