Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Type Alias: DefinerData<T>

DefinerData<T>: object

Definer class data.

Type Parameters

T extends object

React component property type.

Type declaration

actionsInitializer?

readonly optional actionsInitializer: ActionsInitializer

The function that initializes an actions on a component (for internal use only).

category?

optional category: string

The component category.

component

readonly component: ComponentType<T>

The React component.

cssObject?

optional cssObject: Annotations<CSSObject>

The CSS metadata.

customPreview?

optional customPreview: ReactNode

The custom component to display in the component list (unused).

eventListeners?

optional eventListeners: ComponentMetadataEventListeners

The component metadata event listeners.

icon?

optional icon: ComponentType

The component icon.

initialJson?

optional initialJson: string

The JSON source for the component (instance of ComponentStore class serialised to JSON).

kind?

optional kind: ComponentKind

The component kind.

name?

optional name: string

The component name.

properties?

optional properties: Annotations<T>

The property metadata.