mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Merge pull request #969 from artemyarulin/patch-1
[Docs] EmbeddedApp.md - index.ios.js has to be created inside ReactComponent - In order to follow along with the rest of the example
This commit is contained in:
@@ -45,7 +45,7 @@ First, create a directory for your app’s 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` – it’s a barebones React Native app:
|
||||
|
||||
Reference in New Issue
Block a user