Skip to content
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

Use BottomSheetModalProps instead of BottomSheetProps as navigation options #8

Conversation

codybrouwers
Copy link
Contributor

Hey there, thanks for this library, it has been very useful!

I came across an issue that this PR attempts to fix. I wanted to use the stackBehavior option but it is added by BottomSheetModalProps. Since this library's BottomSheetView component does use the BottomSheetModal abstraction from @gorhom/bottom-sheet, I believe this library's props should also inherit the same props.

I think this might also fix this issue:

Thank you!

@codybrouwers codybrouwers changed the title Use BottomSheetModalProps instead of BottomSheetProps props Use BottomSheetModalProps instead of BottomSheetProps as navigation options Sep 11, 2022
@janicduplessis
Copy link
Member

Thanks!

@janicduplessis janicduplessis merged commit b0cc729 into th3rdwave:main Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants