-
Notifications
You must be signed in to change notification settings - Fork 3
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
Best practice for adding global components #7
Comments
Hi @JohnnyHuangTW! Thanks! You probably were doing this using react-navigation and following React concepts. But with rnn-screens (as it's built on top of React Native Navigation) you will need to register global Overlay (from RNN) and show your modal content in that Overlay. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, awesome library!
I am trying to add a global modal and what I usually do is wrap the root App component and add a custom modal component within.
I am wondering is there a way to do something like it with rnn-screens?
The text was updated successfully, but these errors were encountered: