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
Functionprops
parameter
Record<string, unknown>children
parameter
any[]