ImageFormatterThis is a React component
SourceThis is a React component
import { ImageFormatter } from "@prestojs/ui";
ImageFormatter(props)
Render an image from a URL
This is the default formatter used for ImageField
| Parameter | Type | Description | |
|---|---|---|---|
| * | props | Any additional props are passed through to the | |
| props.blankLabel | ReactNode | What to render when Defaults to | |
| props.value | null|string|Blob | The value to render. Should be a valid URL or a File/Blob. |