3f49e743be
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 |
||
---|---|---|
.. | ||
libs | ||
src | ||
.npmignore | ||
DEFS | ||
DevExperience.md | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
release.gradle |
README.md
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.