我在我的react本机应用程序中有一个抽屉导航,该抽屉导航在每次单击抽屉项目时都会打开一个标签导航器,每个抽屉项目都在工作,但是当我导航到抽屉中的第一个抽屉项目时,我无法导航,尽管其他所有抽屉项目都正确响应。
Home : {
screen : TabsNavigator,
navigationOptions : {
drawerLabel : 'Home',
drawerIcon : ({tintColor} ) => (
<MaterialCommunityIcons name="home-outline" size={RFValue(20)} color = {tintColor}/>
)
}
},
Store : {
screen : TabsNavigator,
navigationOptions : {
drawerLabel : 'Store',
drawerIcon : ({tintColor} ) => (
<FontAwesome name="location-arrow" size={RFValue(20)} color = {tintColor}/>
)
}
},
Members : {
screen : TabsNavigator,
navigationOptions : {
drawerLabel : 'Members',
drawerIcon : ({tintColor} ) => (
<MaterialCommunityIcons name="account-group" size={RFValue(20)} color = {tintColor}/>
)
}
},
Profile : {
screen : TabsNavigator,
navigationOptions : {
drawerLabel : 'Profile',
drawerIcon : ({tintColor} ) => (
<AntDesign name="profile" size={RFValue(20)} color = {tintColor}/>
)
}
},
},{
drawerPosition : 'right',
contentComponent : CustomDrawerComponent,
})