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

fix: restore the proper type for NavigationConfig #810

Merged
merged 1 commit into from Feb 11, 2021

Conversation

WoLewicki
Copy link
Member

Description

Suggested by @satya164 revert of NativeStackNavigationConfig to an empty object. It makes the native-stack Navigator accept only screenOptions, just how it is supposed to do. Should fix #809.

Changes

Changed native-stack types.tsx to properly show props for navigator.

Test code and steps to reproduce

Pass props other than screenOptions to native-stack's Navigator component.

Checklist

  • Updated TS types
  • Ensured that CI passes

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.

[ts] v5 native stack does not throw error when using unknown props on it
3 participants