github benhowell/react-grid-gallery v0.2.3

latest releases: v1.0.0, v0.5.6, v0.5.5...
7 years ago
  • Image selection state now handled within image object by optional boolean prop isSelected. This greatly reduces complexity both within and outside the component as the image itself carries it's selected state. Therefore selectedImages prop has been removed.
  • onSelectedImagesChange prop removed due to the changes outlined above.
  • Optional onImageSelected prop added. This prop takes a function and an optional image object as a parameter.
  • isSelected removed as first class prop on Image (now a prop on the image item passed in)
  • Image onToggleSelected renamed to onImageSelected.

Don't miss a new react-grid-gallery release

NewReleases is sending notifications on new releases.