Skip to content
Discussion options

You must be logged in to vote

Hi @Crysp,

As far as I understand to use "react-native-screens" with "react-navigation" I should use native stack and just install "react-native-screens" package.

That's right.

But how I can use "react-native-screens" options for screens?

react-navigation's native stack uses react-native-screens primitives under the hood, so when you set props in JS react-navigation all the native ones are passed to react-native-screens native components. Example: when you set presentation: 'modal' on react-navigation's Screen it is passed to native screen component as stackPresentation: 'modal'.

Like sheetAllowedDetents for modals formSheet.

the prop you are interested in sheetAllowedDetents has no…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kkafar
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