mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Move and Rename propType definitions in TransformPropTypes (#21375)
Summary: related #21342 move TransformPropTypes.js fix flow error - [x] yarn prettier - [x] yarn flow-check-android - [x] yarn flow-check-ios All flow checks pass. [GENERAL] [ENHANCEMENT] [DeprecatedTransformPropTypes.js] - Created. Pull Request resolved: https://github.com/facebook/react-native/pull/21375 Differential Revision: D10095453 Pulled By: TheSavior fbshipit-source-id: fbf677a000e3c6c0bd31e915dcafbd2d561be6e3
This commit is contained in:
committed by
Facebook Github Bot
parent
95174d4ea8
commit
0da7e8d9ae
@@ -14,7 +14,7 @@ const ColorPropType = require('ColorPropType');
|
||||
const LayoutPropTypes = require('LayoutPropTypes');
|
||||
const ReactPropTypes = require('prop-types');
|
||||
const ShadowPropTypesIOS = require('ShadowPropTypesIOS');
|
||||
const TransformPropTypes = require('TransformPropTypes');
|
||||
const DeprecatedTransformPropTypes = require('DeprecatedTransformPropTypes');
|
||||
|
||||
/**
|
||||
* Warning: Some of these properties may not be supported in all releases.
|
||||
@@ -22,7 +22,7 @@ const TransformPropTypes = require('TransformPropTypes');
|
||||
const ViewStylePropTypes = {
|
||||
...LayoutPropTypes,
|
||||
...ShadowPropTypesIOS,
|
||||
...TransformPropTypes,
|
||||
...DeprecatedTransformPropTypes,
|
||||
backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']),
|
||||
backgroundColor: ColorPropType,
|
||||
borderColor: ColorPropType,
|
||||
|
||||
Reference in New Issue
Block a user