How to wrap all screens in a component from a single place #837
-
I have a native stack navigator setup in place, and now I want to wrap all of those screens in an ImageBackground from a single place. Is it possible? Maybe I missed it, but I couldn't find anything relevant in the docs. |
Beta Was this translation helpful? Give feedback.
Answered by
kacperkapusciak
Mar 1, 2021
Replies: 1 comment 1 reply
-
Hi @mohsinulhaq, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kacperkapusciak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mohsinulhaq,
I'm worried that's not possible. The solution is to wrap the content of every screen one by one with
ImageBackground
. A short explanation would be that the navigator decides about the navigation between the screens, but not about what is currently displayed.