mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 09:19:10 +00:00
Fix attributes checking for Image.android.js
Reviewed By: sahrens Differential Revision: D2975018 fb-gh-sync-id: 226f2d3d3dcb538f0c3967346a9b226960c1d15c shipit-source-id: 226f2d3d3dcb538f0c3967346a9b226960c1d15c
This commit is contained in:
parent
9be1216c7f
commit
7e3266d7de
@ -121,14 +121,14 @@ var Image = React.createClass({
|
||||
*/
|
||||
viewConfig: {
|
||||
uiViewClassName: 'RCTView',
|
||||
validAttributes: ReactNativeViewAttributes.RKView
|
||||
validAttributes: ReactNativeViewAttributes.RCTView,
|
||||
},
|
||||
|
||||
_updateViewConfig: function(props) {
|
||||
if (props.children) {
|
||||
this.viewConfig = {
|
||||
uiViewClassName: 'RCTView',
|
||||
validAttributes: ReactNativeViewAttributes.RKView,
|
||||
validAttributes: ReactNativeViewAttributes.RCTView,
|
||||
};
|
||||
} else {
|
||||
this.viewConfig = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user