How to create side menu with react-native?

I would like to say use reactnavigation. that is providing drawer To open and close drawer, navigate to ‘DrawerOpen’ and ‘DrawerClose’ respectively.

 this.props.navigation.navigate('DrawerOpen'); // open drawer
    this.props.navigation.navigate('DrawerClose'); // close drawer

https://reactnavigation.org/docs/drawer-based-navigation.html

or here is one example That also is good . refer this

https://github.com/dailydrip/react-native-navigation-sample

Leave a Comment

error code: 523