PropertyPreviewProps
@firecms/core / PropertyPreviewProps
Interface: PropertyPreviewProps<T, CustomProps>
Section titled “Interface: PropertyPreviewProps<T, CustomProps>”Defined in: preview/PropertyPreviewProps.tsx:11
Type Parameters
Section titled “Type Parameters”T extends CMSType = any
CustomProps
Section titled “CustomProps”CustomProps = any
Properties
Section titled “Properties”customProps?
Section titled “customProps?”
optionalcustomProps:CustomProps
Defined in: preview/PropertyPreviewProps.tsx:47
Additional properties set by the developer
height?
Section titled “height?”
optionalheight:number
Defined in: preview/PropertyPreviewProps.tsx:36
Max height assigned to the preview, depending on the context. It may be undefined if unlimited.
interactive?
Section titled “interactive?”
optionalinteractive:boolean
Defined in: preview/PropertyPreviewProps.tsx:53
If the preview should be interactive or not. This applies only to videos.
property
Section titled “property”property:
Property<T> |ResolvedProperty<T>
Defined in: preview/PropertyPreviewProps.tsx:25
Property this display is related to
propertyKey?
Section titled “propertyKey?”
optionalpropertyKey: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
width?
Section titled “width?”
optionalwidth:number
Defined in: preview/PropertyPreviewProps.tsx:42
Max height width to the preview, depending on the context. It may be undefined if unlimited.