Skip to content

Commit

Permalink
Update index.ios.js
Browse files Browse the repository at this point in the history
  • Loading branch information
iDay authored Aug 29, 2016
1 parent 54a6ef9 commit 58441ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default class ImageViewZoom extends Component {
<ScrollView
maximumZoomScale={this.props.maximumZoomScale}
minimumZoomScale={this.props.minimumZoomScale}
contentContainerStyle={{ alignItems:'center', justifyContent:'center'}}>
contentContainerStyle={{ alignItems:'center', justifyContent:'center'}}
centerContent={true}>
<TouchableOpacity onPress={this.props.onPress?this.props.onPress:function(){}}>
<Image {...this.props}/>
</TouchableOpacity>
Expand Down

0 comments on commit 58441ca

Please sign in to comment.