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:
parent
7af12a1c5c
commit
484fe9155b
|
@ -20,6 +20,7 @@ var ImageStylePropTypes = {
|
||||||
...LayoutPropTypes,
|
...LayoutPropTypes,
|
||||||
...TransformPropTypes,
|
...TransformPropTypes,
|
||||||
resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode)),
|
resizeMode: ReactPropTypes.oneOf(Object.keys(ImageResizeMode)),
|
||||||
|
backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']),
|
||||||
backgroundColor: ReactPropTypes.string,
|
backgroundColor: ReactPropTypes.string,
|
||||||
borderColor: ReactPropTypes.string,
|
borderColor: ReactPropTypes.string,
|
||||||
borderWidth: ReactPropTypes.number,
|
borderWidth: ReactPropTypes.number,
|
||||||
|
|
Loading…
Reference in New Issue