1 |
|
2 | import type RcTree from 'rc-tree';
|
3 | import { TreeNode } from 'rc-tree';
|
4 | import type { BasicDataNode } from 'rc-tree';
|
5 | import type { DataNode } from 'rc-tree/lib/interface';
|
6 | import type { TreeProps } from './Tree';
|
7 | import DirectoryTree from './DirectoryTree';
|
8 | export type { DataNode };
|
9 | export type { EventDataNode } from 'rc-tree/lib/interface';
|
10 | export type { DirectoryTreeProps, ExpandAction as DirectoryTreeExpandAction, } from './DirectoryTree';
|
11 | export type { AntdTreeNodeAttribute, AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, TreeProps, } from './Tree';
|
12 | type CompoundedComponent = (<T extends BasicDataNode | DataNode = DataNode>(props: React.PropsWithChildren<TreeProps<T>> & {
|
13 | ref?: React.Ref<RcTree>;
|
14 | }) => React.ReactElement) & {
|
15 | TreeNode: typeof TreeNode;
|
16 | DirectoryTree: typeof DirectoryTree;
|
17 | };
|
18 | declare const Tree: CompoundedComponent;
|
19 | export default Tree;
|