index.ios.js has to be created inside ReactComponent

This commit is contained in:
Artem Yarulin 2015-04-22 17:27:25 +03:00
parent eef40964da
commit 9913e421d7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ First, create a directory for your apps React code and create a simple `index
```
$ mkdir ReactComponent
$ touch index.ios.js
$ touch ReactComponent/index.ios.js
```
Copy & paste following starter code for `index.ios.js` its a barebones React Native app: