It seems that createDrawerNavigator now only supports the following:
<Drawer.Navigator initialRouteName="More" drawerContent={props => <MenuScreen />}>
{/* <Drawer.Screen name="Tabbar" component={MainTabNavigator}/> */}
<Drawer.Screen name="Projects" component={ProjectsScreen} />
<Drawer.Screen name="More" component={MoreScreen} />
</Drawer.Navigator>
the commented line is throwing:
You can only include screens inside, what I'm trying to do is put a tabbar navigator using "createBottomTabNavigator". On previous versions of react-navigation it was possible, but I can't find a solution on the new version (I'm using "@react-navigation/drawer": "^5.0.0")
Any clues? thanks in advance