Skip to content

Provide more robust tab example #1249

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hiadamk
Copy link

@hiadamk hiadamk commented Jun 2, 2023

The current version of this example leads to a warning of

found screens with the same name nested inside one another

This fix removes that error by giving the tabs a different name but allowing the label to still use the same text.

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. 👍

@netlify
Copy link

netlify bot commented Jun 2, 2023

Deploy Preview for react-navigation-docs ready!

Name Link
🔨 Latest commit 1275f2e
🔍 Latest deploy log https://app.netlify.com/sites/react-navigation-docs/deploys/647a7a59069686000862cd0d
😎 Deploy Preview https://deploy-preview-1249--react-navigation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

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.

1 participant