From 484fe9155b9653959e0bccd9df76b34155b6679b Mon Sep 17 00:00:00 2001 From: zjlovezj Date: Mon, 14 Dec 2015 18:56:32 -0800 Subject: [PATCH] add backfaceVisibility to ImageStylePropTypes Summary: to eliminate to yellow box. ViewStylePropTypes also has this prop. https://github.com/facebook/react-native/blob/0a3694ce48be8991839c42aab2586202a12d43aa/Libraries/Components/View/ViewStylePropTypes.js Closes https://github.com/facebook/react-native/pull/4765 Reviewed By: svcscm Differential Revision: D2754433 Pulled By: androidtrunkagent fb-gh-sync-id: 4bb53213aea6f7d629b31e0e4d4a46ae980ff219 --- Libraries/Image/ImageStylePropTypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Image/ImageStylePropTypes.js b/Libraries/Image/ImageStylePropTypes.js index c4ccfb578..6974bdc55 100644 --- a/Libraries/Image/ImageStylePropTypes.js +++ b/Libraries/Image/ImageStylePropTypes.js @@ -20,6 +20,7 @@ var ImageStylePropTypes = { ...LayoutPropTypes, ...TransformPropTypes, resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode)), + backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']), backgroundColor: ReactPropTypes.string, borderColor: ReactPropTypes.string, borderWidth: ReactPropTypes.number,