-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to open Drawer using a custom event / action within a screen #2265
Comments
Try |
Just Add in root scene a prop drawer={true} |
Can anyone tell me how to customize the drawer which is added in root scene |
@Tanumay92 <Drawer key="app" contentComponent={DrawerContent} drawerWidth={300} > |
Can you explain a Bit @sujayjaju |
@Tanumay92 read the doc :
|
@aksonov it work for me |
Worked also for me, good job :) |
I'm currently facing this problem. Because I have 2 drawers, |
How did you solve this? |
Version
react-native-router-flux v4
Expected behaviour
A way to open the drawer from within a scene
Actual behaviour
Only the navbar button opens the drawer
Steps to reproduce
This is my Router
I need a custom button within the Menu scene to open the drawer.
I tried:
But that does not work since the new DrawerNavigatior does not have "open" as a config option. Docs say the way to open is:
Not sure how to call that?
The text was updated successfully, but these errors were encountered: