Image Selector

PropertyTypeDescription
alt
stringUser-readable description of the image being displayed.
label
string
src
stringURL of the image resource.
type
ImageSelectorTypeImageSelectors can behave a radio or checkbox controls.
One of:
Checkbox, Radio
autoFocus?
boolean
checked?
booleanProgramatically check the box.
className?
string
defaultChecked?
boolean
disabled?
booleanDisplay as disabled.
error?
boolean
id?
string
name?
string
onBlur?
React.FormEventHandler
onChange?
React.FormEventHandler
onError?
React.EventHandlerCallback that fires when image fails to load.
onFocus?
React.FormEventHandler
onLoad?
React.EventHandlerCallback that fires when image loads.
refDelegate?
refHandler?
required?
boolean
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.
tabIndex?
number
value?
string