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