我有一个应用程序与登录页面,我不希望抽屉出现在这个页面上。只有接下来的那些。我想我应该创建两个堆栈导航器。抽屉导航器将包装其中一个,但不包装另一个。我使用的是我曾经使用过的@react导航/折叠器库:
App.js
// Have both navigators at the root
render() {
return (
[
<NavigationContainer>
<DrawerNavigator extraData={{handleLogin:this.handleLogin, handleLogout:this.handleL