UNPKG

502 BTypeScriptView Raw
1import { JSX } from './jsx/jsx-namespace';
2declare function cloneElement(element: any, props: any): any;
3declare function map(children: any, fn: any): any;
4declare function compare(nextElement: JSX.Element, lastElement: JSX.Element, callback: Function): void;
5declare function toArray(element: JSX.Element): JSX.Element[] | null;
6declare const Children: {
7 cloneElement: typeof cloneElement;
8 map: typeof map;
9 toArray: typeof toArray;
10 compare: typeof compare;
11};
12export default Children;