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