zent
Version:
一套前端设计语言和基于React的实现
14 lines (13 loc) • 505 B
TypeScript
import { TreeRootIdArray, ITreeData, ITreeRenderKey, ITreeRootInfoMap } from './common';
export interface IJudgeInfoParams {
expandAll?: boolean;
checkable?: boolean;
loadMore?: (data: ITreeData) => Promise<any>;
tree: ITreeData[];
renderKey?: ITreeRenderKey;
}
export interface IJudgeInfoReturn {
expandNode: TreeRootIdArray;
rootInfoMap: ITreeRootInfoMap;
}
export default function getJudgeInfo({ expandAll, loadMore, tree, renderKey, }: IJudgeInfoParams): IJudgeInfoReturn;