Type Alias: DefinerData<T>
DefinerData<
T> =object
Definer class data.
Type Parameters
T
T extends object
React component property type.
Properties
actionsInitializer?
readonlyoptionalactionsInitializer:ActionsInitializer
The function that initializes an actions on a component (for internal use only).
category?
optionalcategory:string
The component category.
component
readonlycomponent:ComponentType<T>
The React component.
cssObject?
optionalcssObject:Annotations<CSSObject>
The component CSS metadata.
customPreview?
optionalcustomPreview:ReactNode
Deprecated
The custom component to display in the component list (unused).
eventListeners?
optionaleventListeners:ComponentMetadataEventListeners
The component metadata event listeners.
features?
optionalfeatures:ComponentFeatures
The set of component features.
icon?
optionalicon:ComponentType|string
The component icon or the icon name.
initialJson?
optionalinitialJson:string
The JSON source for the component (instance of ComponentStore class serialised to JSON).
insertRestriction?
optionalinsertRestriction:InsertRestrictionFn
The function that restricts the insertion of a component into another component.
kind?
optionalkind:ComponentKind
The component kind.
name?
optionalname:string
The component name.
properties?
optionalproperties:Annotations<T>
The property metadata.
typeName?
optionaltypeName:string
The component type name.
wrapperCssObject?
optionalwrapperCssObject:Annotations<CSSObject>
The wrapper CSS metadata.