export type { TreeProps } from './props'; /** * 树形结构每一项类型接口 * * @param { string } label label * @param { Array } [children] 孩子节点 */ export interface TreeDataItem { label: string; children?: TreeDataItem[]; } /** 树形结构数组类型 */ export type TreeData = TreeDataItem[];