Merge pull request #219 from roryquinlan/master

Corrected typo in README
This commit is contained in:
Alexsander Akers 2015-03-26 18:40:54 +00:00
commit 64010cca17
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ var TouchDemo = React.createClass({
## Flexbox and Styling ## Flexbox and Styling
Laying out views should be easy, which is why we brought the flexbox layout model from the web to React Native. Flexbox makes it simple to build the most common UI layouts, such as stacked and nested boxes with margin and padding. React Native also supports common web syles, such as `fontWeight`, and the `StyleSheet` abstraction provides an optimized mechanism to declare all your styles and layout right along with the components that use them and apply them inline. Laying out views should be easy, which is why we brought the flexbox layout model from the web to React Native. Flexbox makes it simple to build the most common UI layouts, such as stacked and nested boxes with margin and padding. React Native also supports common web styles, such as `fontWeight`, and the `StyleSheet` abstraction provides an optimized mechanism to declare all your styles and layout right along with the components that use them and apply them inline.
```javascript ```javascript
var React = require('react-native'); var React = require('react-native');