我正在尝试使基本的反应导航抽屉正常工作,但似乎并没有带我/显示我正在通过的组件。知道我在这里做错了吗?
import TodaysJobs from '../views/TodaysJobs';
import TomorrowsJobs from '../views/TomorrowsJobs';
<NavigationContainer>
<Drawer.Navigator initialRouteName="TodaysJobs">
<Drawer.Screen name="TodaysJobs" component={TodaysJobs} />
<Drawer.Screen name="TomorrowsJobs" component={TomorrowsJobs} />
</Drawer.Navigator>
</NavigationContainer>