[Docs] Fix typo in docs index

This commit is contained in:
Brent Vatne 2015-08-02 16:14:24 -07:00
parent 0b5e229ed2
commit 5222be0edf

View File

@ -94,7 +94,7 @@ var TouchDemo = React.createClass({
<h2>Flexbox and Styling</h2>
<p>
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.
</p>
<Prism>
{`var React = require('react-native');