我的应用程序中具有以下“反应导航”配置,并且存在以下问题:
https://snack.expo.io/@eriveltonelias/drawer-with-back-button
以下代码:
const EntryStack = createStackNavigator(
{
AuthLoading: {
screen: AuthLoadingScreen,
},
Login: {
screen: Login,
},
SignUp: {
screen: SignUp,
},
ForgotPassword: {
screen: ForgotPassword,
}
},
);
const AppStack = createStackNavigator(
{
SummaryReport:
{
screen: SummaryReport,
},
AddTopic: {
screen: AddTopic,
},
}
);
const RootStackApp = createAppContainer(
//createSwitchNavigator(
createDrawerNavigator(
{
EntryStack: { screen: EntryStack },
AppStack: { screen: AppStack },
MenuStack: { screen: MenuContainer },
},
{
initialRouteName: 'EntryStack',
})
);
export default RootStackApp;