API Reference
Rockets React API
react-material-ui
type-aliases
ImageProps

Type Alias: ImageProps

ImageProps: BoxProps & object

Image component props.

Type declaration

NameTypeDescription
altstringAlternate attribute text
defaultImagestringPath or URL to a fallback image
imgFluidbooleanIf true, the image will be displayed as a fluid element, adapting to the size of its container
onError(event) => voidEvent handler for the image error event
onLoad(event) => voidEvent handler for the image load event
srcstringPath or URL to image file

Defined in

packages/react-material-ui/src/components/Image/Image.tsx:7 (opens in a new tab)