Type Alias: ImageProps
ImageProps:
BoxProps
&object
Image component props.
Type declaration
Name | Type | Description |
---|---|---|
alt | string | Alternate attribute text |
defaultImage | string | Path or URL to a fallback image |
imgFluid | boolean | If true, the image will be displayed as a fluid element, adapting to the size of its container |
onError | (event ) => void | Event handler for the image error event |
onLoad | (event ) => void | Event handler for the image load event |
src | string | Path or URL to image file |
Defined in
packages/react-material-ui/src/components/Image/Image.tsx:7 (opens in a new tab)