UNPKG

reablocks

Version:
13 lines (12 loc) 410 B
interface CloneElementProps { element: any; children?: any; childRef?: any; } /** * CloneElement is a wrapper component for createElement function. * This allows you to describe your cloning element declaratively * which is a more natural API for React. */ export declare function CloneElement<T = any>({ children, element, childRef, ...rest }: CloneElementProps & Partial<T>): any; export {};