Add deprecated transform props to View prop type definition.
Differential Revision: D2549973 fb-gh-sync-id: 96b5233fe4ed003760746d8cdb7f0496a67c63be
This commit is contained in:
parent
8fb9cc8fc1
commit
0ed3048e39
|
@ -47,6 +47,13 @@ var TransformPropTypes = {
|
|||
])
|
||||
),
|
||||
transformMatrix: TransformMatrixPropType,
|
||||
|
||||
/* Deprecated transform props used on Android only */
|
||||
scaleX: ReactPropTypes.number,
|
||||
scaleY: ReactPropTypes.number,
|
||||
rotation: ReactPropTypes.number,
|
||||
translateX: ReactPropTypes.number,
|
||||
translateY: ReactPropTypes.number,
|
||||
};
|
||||
|
||||
module.exports = TransformPropTypes;
|
||||
|
|
Loading…
Reference in New Issue