Skip to content

Commit

Permalink
Update Reason React native namespace in README (facebook#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhducit authored and MoOx committed Dec 13, 2017
1 parent 935e37f commit 5ae435d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ yarn add bs-platform reason-react bs-react-native
- `yarn run watch` enters the watch mode
6. Now we come to the fun stuff! Create a new file `re/app.re` and make it look like this:
```reason
open ReactNative;
open BsReactNative;
let app = () =>
<View style=Style.(style([flex(1.), justifyContent(`center), alignItems(`center)]))>
Expand Down Expand Up @@ -90,7 +90,7 @@ There are some components and APIs missing. You can find an overview of the impl
## Style
Since we have a proper type system we can make styles **typesafe**! Therefore styles are a little bit different declared than in JavaScript:
```reason
open ReactNative;
open BsReactNative;
/* inline styles */
<View
Expand Down

0 comments on commit 5ae435d

Please sign in to comment.