Reduce size of API; remove helpers

This commit is contained in:
Nicolas Gallagher
2015-09-01 14:43:05 -07:00
parent 000bbf9f93
commit d3dce675df
4 changed files with 2 additions and 51 deletions

View File

@@ -1,17 +1,9 @@
import React from 'react';
import { Image, Text, TextInput, View, stylingStrategy } from '../dist/main';
import React, { Image, Text, TextInput, View } from '../dist/react-native-web';
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 (