react-navigation / react-navigation.github.io

Home of the documentation and other miscellanea
https://reactnavigation.org/
MIT License
312 stars 1.89k forks source link

Update getting-started.md Add 'App.tsx' as a main file suggestion #1281

Open AbdelrahmanTealab opened 11 months ago

AbdelrahmanTealab commented 11 months ago

Add App.tsx below "Wrapping your app in NavigationContainer" as new react native projects defaults to TypeScript

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. :+1:

netlify[bot] commented 11 months ago

Deploy Preview for react-navigation-docs ready!

Name Link
Latest commit 99d38b2ac9939c9e4465db754d41bf0edde0b620
Latest deploy log https://app.netlify.com/sites/react-navigation-docs/deploys/652d679ca2c72500087cfb00
Deploy Preview https://deploy-preview-1281--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 configuration.