- 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. ThereforeselectedImages
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 toonImageSelected
.