diff --git a/PhotoGrid.js b/PhotoGrid.js index beaddbd..a77266b 100644 --- a/PhotoGrid.js +++ b/PhotoGrid.js @@ -19,6 +19,7 @@ class PhotoGrid extends PureComponent { static defaultProps = { numberImagesToShow: 0, onPressImage: () => {}, + activeOpacity: 0.7, } isLastImage = (index, secondViewImages) => { @@ -74,7 +75,7 @@ class PhotoGrid extends PureComponent { {firstViewImages.map((image, index) => ( - this.handlePressImage(event, { image })}> {secondViewImages.map((image, index) => ( - this.handlePressImage(event, { image, index }, secondViewImages)}> {this.isLastImage(index, secondViewImages) ? (