AppStackNavigator: {
LoginStackNavigator: {
LoginScreen,
},
SomeTabNavigator: {
FirstTabScreen,
SecondTabScreen, // "this screen have Child" <ChildTabNavigator/>
},
ChildTabNavigator:{
FirstChildScreenTab,
SecondChildScreenTab
}
}
如何从“ SecondChildScreenTab.js ”导航到“ LoginScreen.js ”?我尝试了withNavigation
,但是没有用。