Skip to main content
Version: Next

CreateElement

createElement

The createElement function is used to create CommandKit elements.

Signature
function createElement(type: Function, props: Record<string, unknown>, children: any[]): CommandKitElement<ElementType>

Parameters

type

parameter
Function

props

parameter
Record<string, unknown>

children

parameter
any[]