Skip to content

Wrapping Multiple Screen Under a Context Provider #11977

Closed Answered by satya164
DVGY asked this question in Q&A
Discussion options

You must be logged in to vote

React Navigation 7 supports a layout prop for screen component that can be used to add a wrapper (such as context provider) for the screen component.

https://reactnavigation.org/docs/7.x/screen#layout

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DVGY
Comment options

Answer selected by raajnadar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants