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

Add missing screenOptions to Tab.Navigator #1127

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

pooriamo
Copy link
Contributor

When I copied the code from "A native stack navigator for each tab", I realized the header is being duplicated. I checked that in the snack version, there is this "screenOptions" which is missing in the docs. I added it now.

READ ME PLEASE!

TL;DR: Make sure to add your changes to versioned docs

Thanks for opening a PR!

The docs cover several versions of react-navigation, and in some cases there are several files (for version 1, version 2 and etc.) that all describe a single page of the docs (eg. "Getting Started").

Please make sure that the edit you're making in docs/file-you-edited.md is also included in the file for the correct version, eg. /versioned_docs/version-3.x/file-you-edited.md for version 3. If such file doesn't exist, please create it. 👍

When I copied the code from "A native stack navigator for each tab", I realized the header is being duplicated. I checked that in the snack version, there is this "screenOptions" which is missing in the docs. I added it now.
@netlify
Copy link

netlify bot commented Feb 21, 2022

✔️ Deploy Preview for react-navigation-docs ready!

🔨 Explore the source changes: bf709b1

🔍 Inspect the deploy log: https://app.netlify.com/sites/react-navigation-docs/deploys/6213faf90211dd0007a91b56

😎 Browse the preview: https://deploy-preview-1127--react-navigation-docs.netlify.app

Copy link
Member

@satya164 satya164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@satya164 satya164 merged commit 9f6fa49 into react-navigation:main Oct 31, 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