Merge pull request #219 from roryquinlan/master
Corrected typo in README
This commit is contained in:
commit
64010cca17
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue