@lynx-js/react / cloneElement
| Type Parameter |
|---|
P extends HTMLAttributes<T, P> |
T extends HTMLElement<T> |
| Parameter | Type |
|---|---|
element | DetailedReactHTMLElement<P, T> |
props? | P |
...children? | ReactNode[] |
DetailedReactHTMLElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:563
| Type Parameter |
|---|
P extends HTMLAttributes<T, P> |
T extends HTMLElement<T> |
| Parameter | Type |
|---|---|
element | ReactHTMLElement<T> |
props? | P |
...children? | ReactNode[] |
ReactHTMLElement<T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:569
| Type Parameter |
|---|
P extends SVGAttributes<T, P> |
T extends SVGElement<T> |
| Parameter | Type |
|---|---|
element | ReactSVGElement |
props? | P |
...children? | ReactNode[] |
ReactSVGElement
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:575
| Type Parameter |
|---|
P extends DOMAttributes<T, P> |
T extends Element<T> |
| Parameter | Type |
|---|---|
element | DOMElement<P, T> |
props? | DOMAttributes<T> & P |
...children? | ReactNode[] |
DOMElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:581
| Type Parameter |
|---|
P |
| Parameter | Type |
|---|---|
element | FunctionComponentElement<P> |
props? | Partial<P> & Attributes |
...children? | ReactNode[] |
FunctionComponentElement<P>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:588
| Type Parameter |
|---|
P |
T extends Component<P, any, any, T> |
| Parameter | Type |
|---|---|
element | CElement<P, T> |
props? | Partial<P> & ClassAttributes<T> |
...children? | ReactNode[] |
CElement<P, T>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:593
| Type Parameter |
|---|
P |
| Parameter | Type |
|---|---|
element | ReactElement<P, string | JSXElementConstructor<any>> |
props? | Partial<P> & Attributes |
...children? | ReactNode[] |
ReactElement<P>
.pnpm/@types+react@18.3.11/node_modules/@types/react/ts5.0/index.d.ts:598