Update docs

This commit is contained in:
Nicolas Gallagher
2015-08-19 14:28:26 -07:00
parent 344239bd8a
commit 9d424fa529
3 changed files with 55 additions and 15 deletions

View File

@@ -1,10 +1,17 @@
import React from 'react';
import { Image, Text, TextInput, View } from '../dist/main';
import { Image, Text, TextInput, View, stylingStrategy } from '../dist/main';
class Example extends React.Component {
render() {
return (
<View>
<div {...stylingStrategy({
style: {
backgroundColor: '#000',
height: '10px',
opacity: '0.5'
}
})} />
<View style={styles.grid}>
{[1,2,3,4,5,6].map((item, i) => {
return (