Core API Overview > @adpt/core > cloneElement
cloneElement() function
Signature:
export declare function cloneElement(element: AdaptElement, props: AnyProps, ...children: any[]): AdaptElement;
Parameters
Parameter | Type | Description |
---|---|---|
element | AdaptElement | |
props | AnyProps | |
children | any[] |
Returns: