UNPKG

@aliretail/react-materials-components

Version:
7 lines (6 loc) 530 B
import { ITreeItem, IRequestItem } from './type'; export declare const CLASS_PREFIX = "aliretail-TreeManager"; export declare const looper: (data: ITreeItem[], key: string, callback: (item: ITreeItem, index: number, arr: ITreeItem[]) => void) => void; export declare const loopParentKey: (dataSource: ITreeItem[], key: string, callback: any) => void; export declare const requestByItem: (requestItem: IRequestItem, params: Record<string, any>) => Promise<any>; export declare const hasChildNode: (treeItem: ITreeItem) => boolean;