Files
react-native/Libraries
Emil Sjolander 3f49e743be Add percentage support to react native
Summary:
Adds support for percentage value in react native.

syntax: property: 100 | property | '100%'

supported properties:
padding
margin
width
height
minWidth
minHeight
maxWidth
maxHeight
flexBasis

```
class Playground extends React.Component {
  render() {
    return (
      <View style={{backgroundColor: 'white', padding: 10, paddingTop: 30, height: '100%'}}>
        <Text>
          If you want to quickly test out something,
          open the Playground.js file and start coding.
        </Text>
        <View style={{backgroundColor: 'red', height: 50, width: 50}}/>
        <View style={{backgroundColor: 'blue', height: '50%', width: '50%'}}/>
      </View>
    );
  }
}
```

Reviewed By: astreet

Differential Revision: D4376549

fbshipit-source-id: c41d68a7555396f95d063a7527ee081773ac56dc
2017-01-11 03:58:37 -08:00
..
2017-01-09 15:28:31 -08:00
2016-12-07 17:13:42 -08:00
2016-11-04 05:43:44 -07:00
2016-12-11 00:43:30 -08:00
2017-01-04 02:43:30 -08:00
2017-01-03 13:43:35 -08:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-12-15 21:13:38 -08:00
2016-12-13 18:58:34 -08:00
2017-01-09 00:28:37 -08:00
2016-11-23 11:28:29 -08:00