The ImageGallery component enables you to display multiple images in a gallery format.
Explore the available props for the ImageGallery component
Prop | Type | Default | Description |
---|---|---|---|
imageCaption | string | div | Caption for image. |
captionEnabled | boolean | div | Is caption enable. |
lightBox | boolean | - | Is lightBox enable? |
lightBoxCaptionEnabled | boolean | - | Is lightBox caption enable? |
style | string | - | Any CSS className to style the gallery wrapper. |
imageStyle | string | - | Any CSS className to style the image. |
captionStyle | string | - | Any CSS className to style the image caption. |
lightBoxStyle | string | - | Any CSS className to style the lightbox. |
lightBoxImageStyle | string | - | Any CSS className to style the lightbox image. |
lightBoxCaptionStyle | string | - | Any CSS className to style the lightbox image caption. |
closeButtonStyle | string | - | Any CSS className to style the lightbox close button. |
children | node | - | Child components and content to be placed within it. |