Class: Meta
Component metadata for the form builder.
Constructors
constructor
• new Meta(type
, properties
, css
, wrapperCss
, modules
, customPreview?
, valuedAn?
, kind?
)
Creates the component metadata for the form builder.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
type | string | undefined | the component type name. |
properties | Annotation [] | undefined | the component's properties metadata. |
css | Annotation [] | undefined | the component's CSS metadata. |
wrapperCss | Annotation [] | undefined | the component's wrapper CSS metadata. |
modules | Annotation [] | undefined | common metadata for the component. |
customPreview? | ReactNode | undefined | the custom ReactNode to be drawn on the toolbar. |
valuedAn? | Annotation | undefined | the metadata for the component value. |
kind | ComponentKind | 'component' | the component kind. |
Properties
css
• Readonly
css: Annotation
[]
the component's CSS metadata.
customPreview
• Optional
Readonly
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
• Optional
Readonly
valuedAn: Annotation
the metadata for the component value.
wrapperCss
• Readonly
wrapperCss: Annotation
[]
the component's wrapper CSS metadata.