GuidePluginsTestingAPI
Seyfert LogoSeyfert
API

componentFactory

Return a new component instance based on the component type.

API/Functions/componentFactory
seyfert/lib/components/index.d.ts

Signature

export declare function componentFactory(component: APIComponents): AllComponents;
JSDoc
Parameters
component
The component to create.
Returns

The component instance.

Members

This export does not declare public properties or methods in the generated declaration file.