Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ladas-larry committed Apr 23, 2017
2 parents 36fa38c + 5823ae5 commit 6cb3127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-responsive-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class ResponsiveImage extends Component {
<Image style={[{width: width, height: height}, this.props.style]}
source={this.props.source}
ref={component => this._root = component}
resizeMode={this.props.resize ? 'contain' : 'stretch'}
resizeMode={this.props.resizeMode || 'cover'}
onLoadStart={this.props.onLoadStart}
onProgress={this.props.onProgress}
onLoad={this.props.onLoad}
Expand Down

0 comments on commit 6cb3127

Please sign in to comment.