Add deprecated transform props to View prop type definition.

Differential Revision: D2549973

fb-gh-sync-id: 96b5233fe4ed003760746d8cdb7f0496a67c63be
This commit is contained in:
Krzysztof Magiera 2015-10-16 07:29:05 -07:00 committed by facebook-github-bot-5
parent 8fb9cc8fc1
commit 0ed3048e39
1 changed files with 7 additions and 0 deletions

View File

@ -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;