Canvacord

Element

Creates a new JSX element.

new Element(_init)
ParameterTypeDescriptionOptional
_init

The initialization options

Properties

children

The children of the element.

Type:any

key

The key of the element.

Type:null|Key

props

The props of the element.

Type:Record<string, unknown>

type

The type of the element.

Type:string