ImageBox
ImageBox(
__namedParameters):Element
A picture in a box that keeps its shape while the picture loads, fails or does not exist: the box is reserved from the aspect setting, so nothing moves. With no picture it is a quiet placeholder that says nothing to a reader.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”aspect
Section titled “aspect”"auto" | "square" | "landscape" | "portrait" | "wide"
className?
Section titled “className?”string = ''
eager?
Section titled “eager?”boolean = false
"cover" | "contain" = 'cover'
ProductImage | undefined
pending
Section titled “pending”boolean
Returns
Section titled “Returns”Element