| Property | Type | Description |
|---|---|---|
alt | string | User-readable description of the image being displayed. |
src | string | URL of the image resource. |
aspect? | AspectRatio | One of: Aspect16x9, Aspect1x1, Aspect21x9, Aspect3x4, Aspect4x3, BoxArt |
children? | React.ReactNode | |
className? | string | |
onError? | React.EventHandler | Callback that fires when image fails to load. |
onLoad? | React.EventHandler | Callback that fires when image loads. |
overflow? | boolean | |
refHandler? | | |
size? | CardImageSize | One of: Default, Size16, Size2, Size24, Size3, Size32, Size4, Size6, Size8 |
sizes? | | The intended display size of the image at various breakpoints. Accepts an array of objects that contain a size, and optionally a mediaCondition. |
srcSet? | CoreSrcSet | A configuration object for responsive image display. Accepts an object with valid descriptors for keys and image urls for values. |