Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

h

function h(
type: "input",
props: (JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>) | null,
...children: ComponentChildren[],
): VNode<any>;
function h<P extends JSXInternal.HTMLAttributes<T>, T extends HTMLElement>(
props: (ClassAttributes<T> & P) | null,
...children: ComponentChildren[],
): VNode<any>;
function h<P extends JSXInternal.SVGAttributes<T>, T extends HTMLElement>(
props: (ClassAttributes<T> & P) | null,
...children: ComponentChildren[],
): VNode<any>;
function h<T extends HTMLElement>(
type: string,
...children: ComponentChildren[],
): VNode<any>;
function h<P>(
type: ComponentType<P>,
props: (Attributes & P) | null,
...children: ComponentChildren[],
): VNode<any>;
§
h(type: "input", props: (JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>) | null, ...children: ComponentChildren[]): VNode<any>
[src]

§Parameters

§
type: "input"
[src]
§
props: (JSXInternal.DOMAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement>) | null
[src]
§
...children: ComponentChildren[] optional
[src]

§Return Type

§
h<P extends JSXInternal.HTMLAttributes<T>, T extends HTMLElement>(type: keyof JSXInternal.IntrinsicElements, props: (ClassAttributes<T> & P) | null, ...children: ComponentChildren[]): VNode<any>
[src]

§Type Parameters

§
T extends HTMLElement
[src]

§Parameters

§
props: (ClassAttributes<T> & P) | null
[src]
§
...children: ComponentChildren[] optional
[src]

§Return Type

§
h<P extends JSXInternal.SVGAttributes<T>, T extends HTMLElement>(type: keyof JSXInternal.IntrinsicElements, props: (ClassAttributes<T> & P) | null, ...children: ComponentChildren[]): VNode<any>
[src]

§Type Parameters

§
T extends HTMLElement
[src]

§Parameters

§
props: (ClassAttributes<T> & P) | null
[src]
§
...children: ComponentChildren[] optional
[src]

§Return Type

§
h<T extends HTMLElement>(type: string, props: (ClassAttributes<T> & JSXInternal.HTMLAttributes & JSXInternal.SVGAttributes) | null, ...children: ComponentChildren[]): VNode<any>
[src]

§Type Parameters

§
T extends HTMLElement
[src]

§Parameters

§
type: string
[src]
§
...children: ComponentChildren[] optional
[src]

§Return Type

§
h<P>(type: ComponentType<P>, props: (Attributes & P) | null, ...children: ComponentChildren[]): VNode<any>
[src]

§Type Parameters

§Parameters

§
props: (Attributes & P) | null
[src]
§
...children: ComponentChildren[] optional
[src]

§Return Type