react-native/Libraries/StyleSheet
Kyle Corbitt cd89016ee7 PixelRatio.pixel()
Summary:
This implements #5073. It adds a static method `PixelRatio.pixel()` which returns the smallest drawable line width, primarily for use in styles.

It also updates the example apps to use the new function.
Closes https://github.com/facebook/react-native/pull/5076

Reviewed By: svcscm

Differential Revision: D2799849

Pulled By: nicklockwood

fb-gh-sync-id: b83a77790601fe882affbf65531114e7c5cf4bdf
2016-01-15 05:15:31 -08:00
..
__tests__ Make processColor more efficient 2015-10-05 10:15:34 -07:00
ColorPropType.js Added ColorPropType 2015-12-23 10:08:38 -08:00
EdgeInsetsPropType.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
LayoutPropTypes.js enable the minWidth/maxWidth/minHeight/maxHeight features 2015-11-17 10:58:32 -08:00
PointPropType.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
StyleSheet.js PixelRatio.pixel() 2016-01-15 05:15:31 -08:00
StyleSheetPropType.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00
StyleSheetRegistry.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00
StyleSheetTypes.js [Flow] Clean up react-native for Flow v0.15.0 2015-09-04 16:51:18 -08:00
StyleSheetValidation.js [ReactNative] Add overflow to the whitelisted Image props 2015-07-27 11:06:27 -08:00
TransformPropTypes.js Add deprecated transform props to View prop type definition. 2015-10-16 07:30:26 -07:00
flattenStyle.js [Flow] Clean up react-native for Flow v0.15.0 2015-09-04 16:51:18 -08:00
processColor.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
processTransform.js Refactor Attribute Processing (Step 3) 2015-10-06 15:36:32 -07:00
styleDiffer.js Flowify Libraries/StyleSheet and Libraries/Text 2015-03-24 16:22:59 -08:00