mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
facebook-github-bot-7
parent
7af12a1c5c
commit
484fe9155b
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user