Skip to main content
Version: 3.0.0-beta

Interface: PropertyPreviewProps<T, CustomProps>

Type Parameters​

• T extends CMSType = any

• CustomProps = any

Properties​

customProps?​

optional customProps: CustomProps

Additional properties set by the developer

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:47


height?​

optional height: number

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

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:36


interactive?​

optional interactive: boolean

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

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:53


property​

property: Property<T> | ResolvedProperty<T>

Property this display is related to

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:25


propertyKey?​

optional propertyKey: string

Name of the property

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:15


size​

size: PreviewSize

Desired size of the preview, depending on the context.

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:30


value​

value: T

Current value of the property

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:20


width?​

optional width: number

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

Defined in​

packages/firecms_core/src/preview/PropertyPreviewProps.tsx:42

Sign up to our newsletter to get the latest news and updates. No spam!