How to create side menu with react-native?

Rofiatul Adawiyah picture Rofiatul Adawiyah · May 9, 2017 · Viewed 69.7k times · Source

I'm new in React Native, I want to create a side menu like this, any reference for this?

side menu

Answer

Sport picture Sport · May 9, 2017

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