|
@@ -16,9 +16,9 @@ export default class ImageComp extends Module {
|
|
resizeMode,
|
|
resizeMode,
|
|
source
|
|
source
|
|
} = this.props;
|
|
} = this.props;
|
|
- if(!width) width = ImageComp.Inputs.width.default || 100;
|
|
|
|
- if(!height) height = ImageComp.Inputs.height.default || 100;
|
|
|
|
- if(!resizeMode) resizeMode = ImageComp.Inputs.resizeMode.default || 'cover';
|
|
|
|
|
|
+ if(!width) width = 100;
|
|
|
|
+ if(!height) height = 100;
|
|
|
|
+ if(!resizeMode) resizeMode = 'cover';
|
|
return <Image
|
|
return <Image
|
|
style={{width, height}}
|
|
style={{width, height}}
|
|
resizeMode={resizeMode}
|
|
resizeMode={resizeMode}
|