UNPKG

512 BTypeScriptView Raw
1import type { ReactElement } from 'react';
2import type { IObject } from '../type';
3export declare function toArrayChildren(children: any): any[];
4export declare function findChildInChildrenByKey(children: ReactElement[], key: string | number | null): any;
5export declare function mergeChildren(prev: ReactElement[], next: ReactElement[]): any[];
6export declare function transformArguments(arg: any, key: string | number | null, i: number): any;
7export declare function getChildrenFromProps(props: IObject): any;