Skip to content

PropertyPreviewProps

@firecms/core


@firecms/core / PropertyPreviewProps

Interface: PropertyPreviewProps<T, CustomProps>

Section titled “Interface: PropertyPreviewProps<T, CustomProps>”

Defined in: preview/PropertyPreviewProps.tsx:11

T extends CMSType = any

CustomProps = any

optional customProps: CustomProps

Defined in: preview/PropertyPreviewProps.tsx:47

Additional properties set by the developer


optional height: number

Defined in: preview/PropertyPreviewProps.tsx:36

Max height assigned to the preview, depending on the context. It may be undefined if unlimited.


optional interactive: boolean

Defined in: preview/PropertyPreviewProps.tsx:53

If the preview should be interactive or not. This applies only to videos.


property: Property<T> | ResolvedProperty<T>

Defined in: preview/PropertyPreviewProps.tsx:25

Property this display is related to


optional propertyKey: string

Defined in: preview/PropertyPreviewProps.tsx:15

Name of the property


size: PreviewSize

Defined in: preview/PropertyPreviewProps.tsx:30

Desired size of the preview, depending on the context.


value: T

Defined in: preview/PropertyPreviewProps.tsx:20

Current value of the property


optional width: number

Defined in: preview/PropertyPreviewProps.tsx:42

Max height width to the preview, depending on the context. It may be undefined if unlimited.