ItemPreview
The Item Preview component displays an item's image preview via URL.
| name | type | required | comment |
|---|---|---|---|
src | string | yes | URL to image |
alt | string | no | alt text te be show for accessibility purposes |
ariaLabel | string | no | |
className | string | no | |
onImageLoad | () => void | no | |
previewBox | PreviewBox | no | Box within the image to show. Leave undefined if the entire image should be shown. |
role | AriaRole | no | |
show | boolean | no | Optionally hide the image, in case some other temporary preview needs to be shown instead |
style | CSSProperties | no |
Result
Loading...
Live Editor