mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 22:29:41 +08:00
add backfaceVisibility to ImageStylePropTypes
Summary:
to eliminate to yellow box.
ViewStylePropTypes also has this prop.
0a3694ce48/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