React native router flux is made on top of react navigation. Here - https://github.com/aksonov/react-native-router-flux#v4-features - said that drawer supported. But I can't find any information about how can I do this? Can anyone show example?
<Scene key="authentication">
<Scene key="page1" component={Page1} title="Page1"/>
<Scene key="page2" component={Page2} title="Page2" />
<Drawer
hideNavBar
key="drawer"
drawerWidth={300}
contentComponent={ContentComp}
>
<Scene key="side" component={DrawerMenu} title="Menu" />
</Drawer>
</Scene>
What next? There is no anything on the screen.
You should take a look at the API. Just declare a <Drawer>
route in your routes declaration