Core Image

PropertyTypeDescription
alt
stringUser-readable description of the image being displayed.
src
stringURL of the image resource.
className?
string
onError?
React.EventHandlerCallback that fires when image fails to load.
onLoad?
React.EventHandlerCallback that fires when image loads.
refHandler?
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?
CoreSrcSetA configuration object for responsive image display. Accepts an object with valid descriptors for keys and image urls for values.