react-native/Examples/UIExplorer/UIExplorerUnitTests
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
..
OCMock Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
Info.plist Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
RCTAllocationTests.m Apple TV support 4: support for input (tvOS focus engine) 2016-12-19 06:28:40 -08:00
RCTBridgeTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTBundleURLProviderTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTComponentPropsTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTConvert_NSURLTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTConvert_YGValueTests.m Add percentage support to react native 2017-01-11 03:58:37 -08:00
RCTDevMenuTests.m Fix headers for UIExplorerUnitTests 2016-12-01 07:13:33 -08:00
RCTEventDispatcherTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTFontTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTGzipTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTImageLoaderHelpers.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTImageLoaderHelpers.m Fix some linter warnings 2016-09-27 06:13:31 -07:00
RCTImageLoaderTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTImageUtilTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTJSCExecutorTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTJSONTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTMethodArgumentTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTModuleInitNotificationRaceTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTModuleInitTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTModuleMethodTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTMultipartStreamReaderTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTShadowViewTests.m Add feature to use percentage as value unit 2017-01-02 05:28:30 -08:00
RCTUIManagerTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTURLUtilsTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
RCTUnicodeDecodeTests.m Fix imports in UIExplorerUnitTests 2016-11-24 09:58:31 -08:00
TestBundle.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
libOCMock.a