How to create a side menu with a reaction?

I'm new to native response, do I want to create a sidebar like this, any link for this ?. many thanks.

enter image description here

+4
source share
4 answers

I would say that the use of jet navigation. which provides the drawer To open and close the drawer, go 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. It's also good. see this

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

+3
source

Here you can find the complete template, ready to use.

https://github.com/darde/react-native-sidemenu

+1
source
0

This is one of my simple projects that can show you how to implement the side menu yourself.

https://github.com/reactazteam/PushyHorizontalMenu

enter image description here

0
source

Source: https://habr.com/ru/post/1676704/


All Articles