Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Class: Meta

Component metadata for the form builder.

Constructors

new Meta()

new Meta(type, properties, css, wrapperCss, modules, customPreview?, valuedAn?, kind?): Meta

Creates the component metadata for the form builder.

Parameters

type: string

the component type name.

properties: Annotation[]

the component's properties metadata.

css: Annotation[]

the component's CSS metadata.

wrapperCss: Annotation[]

the component's wrapper CSS metadata.

modules: Annotation[]

common metadata for the component.

customPreview?: ReactNode

the custom ReactNode to be drawn on the toolbar.

valuedAn?: Annotation

the metadata for the component value.

kind?: ComponentKind = 'component'

the component kind.

Returns

Meta

Properties

css

readonly css: Annotation[]

the component's CSS metadata.


customPreview?

readonly optional customPreview: ReactNode

the custom ReactNode to be drawn on the toolbar.


kind

readonly kind: ComponentKind = 'component'

the component kind.


modules

readonly modules: Annotation[]

common metadata for the component.


properties

readonly properties: Annotation[]

the component's properties metadata.


type

readonly type: string

the component type name.


valuedAn?

readonly optional valuedAn: Annotation

the metadata for the component value.


wrapperCss

readonly wrapperCss: Annotation[]

the component's wrapper CSS metadata.