Function: jsx()

Estimated reading time: less than 1 minute
function jsx(this, name, attributes): Element

Generates a html string from an attribute name of component and it's props.

This function is meant to be used by the jsx runtime and should not be called directly.

Parameters

this

void

name

The name of the element to create or another component function

string | Function

attributes

The props to apply to the component

children?

Children

Returns

Element

The generated html string or a promise that resolves to the generated html string