The drawer navigator allows you to present a navigation menu to your users. It can be customized out of the box, or you can completely control with a custom component.
This guide covers createDrawerNavigator.
To open and close drawer, use the following helpers to open and close the drawer:
If you would like to toggle the drawer you call the following:
Each of these functions, behind the scenes, are simply dispatching actions:
If you would like to determine if drawer is open or closed, you can do the following:
Additionally, you can automatically hide the status bar by passing the DrawerLayout prop of