@lynx-js/react / createElement
| Parameter | Type |
|---|---|
type | "input" |
props? | InputHTMLAttributes<HTMLInputElement> & ClassAttributes<HTMLInputElement> |
...children? | ReactNode[] |
DetailedReactHTMLElement<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:522
| Type Parameter |
|---|
P extends HTMLAttributes<T, P> |
T extends HTMLElement<T> |
| Parameter | Type |
|---|---|
type | keyof ReactHTML |
props? | ClassAttributes<T> & P |
...children? | ReactNode[] |
DetailedReactHTMLElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:527
| Type Parameter |
|---|
P extends SVGAttributes<T, P> |
T extends SVGElement<T> |
| Parameter | Type |
|---|---|
type | keyof ReactSVG |
props? | ClassAttributes<T> & P |
...children? | ReactNode[] |
ReactSVGElement
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:532
| Type Parameter |
|---|
P extends DOMAttributes<T, P> |
T extends Element<T> |
| Parameter | Type |
|---|---|
type | string |
props? | ClassAttributes<T> & P |
...children? | ReactNode[] |
DOMElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:537
| Type Parameter |
|---|
P extends object |
| Parameter | Type |
|---|---|
type | FunctionComponent<P> |
props? | Attributes & P |
...children? | ReactNode[] |
FunctionComponentElement<P>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:545
| Type Parameter |
|---|
P extends object |
T extends Component<P, any, any, T> |
C extends ComponentClass<P, any, C> |
| Parameter | Type |
|---|---|
type | ClassType<P, T, C> |
props? | ClassAttributes<T> & P |
...children? | ReactNode[] |
CElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:550
| Type Parameter |
|---|
P extends object |
| Parameter | Type |
|---|---|
type | string | FunctionComponent<P> | ComponentClass<P, any> |
props? | Attributes & P |
...children? | ReactNode[] |
ReactElement<P>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:555