UNPKG

@devfamily/admiral

Version:

Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.

7 lines (6 loc) 423 B
import React from 'react'; declare type AnyObject = Record<any, any>; declare type RenderProps = undefined | AnyObject | ((originProps: AnyObject) => AnyObject | undefined); export declare function replaceElement(element: React.ReactNode, replacement: React.ReactNode, props: RenderProps): React.ReactNode; export declare function cloneElement(element: React.ReactNode, props?: RenderProps): React.ReactElement; export {};