react-native/Libraries/StyleSheet
Eli White 2f32fea79a Remove LayoutStyle, ShadowStyle, TransformStyle in favor of just ViewStyleProp
Summary: We are working to remove additional types and eventually define everything at the top level as a public exported type of react-native. I was able to update callsites by just using ViewStyleProp in places that were expecting a prop of just one of these. It is a little bit weaker, but much simpler. If a callsite wants to only take margin, it should just take a margin prop instead of a LayoutStyle prop.

Reviewed By: rickhanlonii

Differential Revision: D13599460

fbshipit-source-id: 12c01bc58baa7f6acf33e0b8aab05dabb79c646b
2019-01-08 18:49:37 -08:00
..
__flowtests__ Codemod ImageStyleProp 2019-01-03 06:53:53 -08:00
__tests__ Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
EdgeInsetsPropType.js Split EdgeInsets in DeprecatedPropTypes and flow types (#21351) 2018-09-27 11:02:13 -07:00
PointPropType.js Split PointPropType (#21355) 2018-09-26 22:35:11 -07:00
StyleSheet.js Remove LayoutStyle, ShadowStyle, TransformStyle in favor of just ViewStyleProp 2019-01-08 18:49:37 -08:00
StyleSheetTypes.js Remove LayoutStyle, ShadowStyle, TransformStyle in favor of just ViewStyleProp 2019-01-08 18:49:37 -08:00
StyleSheetValidation.js Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
flattenStyle.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
processColor.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
processTransform.js Upgrade to Flow v0.88.0 2018-12-11 20:01:00 -08:00
setNormalizedColorAlpha.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00