0.1.0 • Published 6 years ago

react-imagizo v0.1.0

Weekly downloads
5
License
-
Repository
-
Last release
6 years ago

React Imagizo

An image library that's used to show the images in beautiful grids.

Below you will find some information on how to perform common tasks.

Table of Contents

What's new

Overlay Counts added for more than 5 images.

Props

PropsTypeDefaultExample
imagesArray (String)required['https://some-url.com/image.jpg', importedImage] //Local image should be imported first
widthNumberauto{100} //We consider this as percent
countFromNumber5{2} //Should be from 1 to 5
hideOverlayBooleanfalse{true}
renderOverlayFunction() => Preview Image{() => <button>Show Image</button>}
overlayBackgroundColorString#222222'green' or '#000000' or 'rgb(255, 26, 26)'
onClickEachFunctionnull{({src, index}) => {}}