如何从嵌套的“子选项卡导航器”进行导航?

时间:2020-01-07 12:12:28

标签: reactjs native

AppStackNavigator: {
    LoginStackNavigator: {
        LoginScreen,
    },
    SomeTabNavigator: {
        FirstTabScreen,
        SecondTabScreen, // "this screen have Child" <ChildTabNavigator/>
    },
    ChildTabNavigator:{
        FirstChildScreenTab,
        SecondChildScreenTab
    }
}

如何从“ SecondChildScreenTab.js ”导航到“ LoginScreen.js ”?我尝试了withNavigation,但是没有用。

0 个答案:

没有答案