Skip to content

Commit

Permalink
Merge branch 'master' of github.com:benhowell/react-grid-gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
benhowell committed Jun 20, 2019
2 parents ac182de + 3012135 commit 5df5681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Justified image gallery component for [React](http://facebook.github.io/react/) inspired by [Google Photos](https://photos.google.com/) and based upon [React Images](https://github.com/jossmac/react-images).


### Note:
> As of the release of [v0.5.4](https://github.com/benhowell/react-grid-gallery/releases/tag/v0.5.4) (2019-03-10) I will no longer be actively adding features and aggressively maintaining [react-grid-gallery](https://github.com/benhowell/react-grid-gallery). My online behavioral experiment platform [Psychstudio](https://www.psychstudio.com/) consumes all of my time and I am no longer capable of giving react-grid-gallery the attention it needs. A big thanks to [everyone who has contributed](https://github.com/benhowell/react-grid-gallery/blob/master/README.md#acknowledgements) over the last 4 years and thanks to everyone who has downloaded react-grid-gallery (hopefully it has been useful to you).
## Live Demo & Examples

Expand Down
5 changes: 4 additions & 1 deletion src/Gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ class Gallery extends Component {
theme={this.props.theme}
onClickThumbnail={this.getOnClickLightboxThumbnailFn()}
showThumbnails={this.props.showLightboxThumbnails}
{...this.props.lightBoxProps}
/>
</div>
);
Expand Down Expand Up @@ -367,7 +368,8 @@ Gallery.propTypes = {
showLightboxThumbnails: PropTypes.bool,
onClickLightboxThumbnail: PropTypes.func,
tagStyle: PropTypes.object,
thumbnailImageComponent: PropTypes.func
thumbnailImageComponent: PropTypes.func,
lightBoxProps : PropTypes.object,
};

Gallery.defaultProps = {
Expand All @@ -386,6 +388,7 @@ Gallery.defaultProps = {
showImageCount: true,
lightboxWidth: 1024,
showLightboxThumbnails: false,
lightBoxProps : {},
};

module.exports = Gallery;

0 comments on commit 5df5681

Please sign in to comment.