Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(Image): added image component * fix(image): was not accepting aspectRatio in getCdnUrl function * fix(image): added background color to image, if image is not loaded yet * fix(image): lazy is a type of bool not a string * feat(gallery): added gallery component * fix(image): added shape and remove props from intial state * refactor(image): change name of storeContainerRef to setImageRef, removed aspectRatio which was redu * fix(image): changed propType of shape to oneOf * fix(image): added horizontal lazy load * fix(image): added propType in Img.js, inside image component * refactor(image): added default props in img.js inside image component * fix(image): grayscale props will be false by default * fix(gallery): use subscription method to perform horizonatal lazy loading of images inside a contain * fix(image): use subscription method to perform horizonatal lazy load of images * feat(images): added border in image.js component * fix(add border in img.js in image component): * fix(image): added componentDidUpdate in image.js * fix(image): added display property * feat(image): added image container in image.js * fix(gallery): added height and width to gallery component * refactor(images): remove display prop from component * refactor(gallery): use flex fro display property in gallery.js * fix(image): added height to image container * style(image): removed shape props from img.js * fix(gallery): removed white-space property and added display flex property in gallery.js * fix(gallery): added conditional margin to gallery component in gallery.js * fix(gallery): ref getter
- Loading branch information