Change name of the file to edit

Summary:
The text that appears on screen is in App.js component.

The project that is being generated using react-native shows `To get started, edit App.js` text when run, but the documentation says to edit index.js file. The text is actually present in App.js, therefore the app is correct, but the documentation is not.

[DOCS] [ENHANCEMENT] [GettingStarted.md] - Wrong name of the file to edit
Closes https://github.com/facebook/react-native/pull/16550

Differential Revision: D6184953

Pulled By: shergin

fbshipit-source-id: c7385a349de8983aff80af8b393b3a973b4ef5cf
This commit is contained in:
Martin Cerny 2017-10-29 22:58:00 -07:00 committed by Facebook Github Bot
parent 4c05ede977
commit 715367145f
1 changed files with 3 additions and 3 deletions

View File

@ -583,12 +583,12 @@ Now that you have successfully run the app, let's modify it.
<block class="native mac ios" />
- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Hit `⌘R` in your iOS Simulator to reload the app and see your changes!
<block class="native mac android" />
- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Press the `R` key twice or select `Reload` from the Developer Menu (`⌘M`) to see your changes!
<block class="native windows linux android" />
@ -597,7 +597,7 @@ Now that you have successfully run the app, let's modify it.
Now that you have successfully run the app, let's modify it.
- Open `index.js` in your text editor of choice and edit some lines.
- Open `App.js` in your text editor of choice and edit some lines.
- Press the `R` key twice or select `Reload` from the Developer Menu (`Ctrl + M`) to see your changes!
<block class="native mac ios android" />