Skip to content

ImageFieldProps

ImageFieldProps = BaseFieldProps & object

Defined in: packages/ui/src/types.ts:792

Props for the ImageField read-only display component.

Renders an image thumbnail, resolving signed URLs from @cfast/storage when a storage configuration is provided. Used by DataTableProps cell renderers for image columns.

optional alt: string

Alt text for the image element.

optional height: number

Display height in pixels. Defaults to 60.

optional storage: unknown

Storage configuration for signed URL resolution.

value: string | null | undefined

Image URL or storage key.

optional width: number

Display width in pixels. Defaults to 80.