Published in Better Programming
Photo by Samuel Zeller on Unsplash
Updated/new files are included in the tree below; all other files were generated by the Expo CLI.
|- assets
|- components
|- DrawerTrigger.js // opens drawer
|- Header.js // contains DrawerTrigger
|- ScreenName.js // component rendered in each view
|- navigation
|- AppNavigator.js // primary app navigator
|- DrawerNavigator.js // drawer navigator
|- screens
|- ScreenOne.js
|- ScreenTwo.js
|- App.js
|- app.json
The full repository for the React Native - Drawer Navigation blog post.