Class: VisualComponents<TSettings, TComponentProps>
Type parameters
Name |
---|
TSettings |
TComponentProps |
Constructors
constructor
• new VisualComponents<TSettings
, TComponentProps
>(defaultComponents
)
Type parameters
Name |
---|
TSettings |
TComponentProps |
Parameters
Name | Type |
---|---|
defaultComponents | Dictionary <IComponentDefinition <TComponentProps , TSettings > | VisualComponent <TComponentProps >> |
Methods
getComponent
▸ getComponent(type
): VisualComponentState
<TComponentProps
, TSettings
>
Parameters
Name | Type |
---|---|
type | undefined | null | string |
Returns
VisualComponentState
<TComponentProps
, TSettings
>
import
▸ import(obj?
): void
Parameters
Name | Type |
---|---|
obj? | IVisualComponentsObject <TSettings , TComponentProps > |
Returns
void