diff --git a/library/Gallery.js b/library/Gallery.js index 3fd01ed..5154c0b 100644 --- a/library/Gallery.js +++ b/library/Gallery.js @@ -21,7 +21,8 @@ export default class Gallery extends Component { onPageScroll: PropTypes.func, onSingleTapConfirmed: PropTypes.func, - onGalleryStateChanged: PropTypes.func + onGalleryStateChanged: PropTypes.func, + minScale: PropTypes.number }; imageRefs = new Map(); @@ -219,7 +220,7 @@ export default class Gallery extends Component { } renderPage(pageData, pageId, layout) { - const { onViewTransformed, onTransformGestureReleased, ...other } = this.props; + const { onViewTransformed, onTransformGestureReleased, minScale , ...other } = this.props; return ( );