The Image component allows user to display image.
Explore the available props for the Image component
Prop | Type | Default | Description |
---|---|---|---|
src | string | div | Source of image. |
altText | string | div | Alternative Text of image. |
imageCaption | string | div | Caption for image. |
captionEnabled | boolean | div | Is caption enable. |
isLink | boolean | - | Is the image linkable? |
linkTo | string | - | URL or link. |
target | string | _self | Specifies where to open the linked document when the link is clicked. |
lightBox | boolean | - | Is lightBox enable? |
lightBoxImageSrc | string | src value | Source for lightBox image. |
lightBoxCaptionEnabled | boolean | - | Is lightBox caption enable? |
lightBoxCaption | string | - | Caption for lightbox image. |
style | string | - | Any CSS className to style the image 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. |