Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: define()

define<T>(component, displayName?): Definer<T>

Static method to create an instance of the component's metadata builder class.

Type Parameters

T extends object

Parameters

component: ComponentType<T>

the React component.

displayName?: string

the display name for the anonymous component.

Returns

Definer<T>

the instance of the Definer class.

Stay in the know
Quickly Build Drag-and-Drop Forms
Star us on GitHub