1 | import * as React from 'react';
|
2 | import RcTree from 'rc-tree';
|
3 | import { Key } from 'rc-tree/lib/interface';
|
4 | import { TreeProps } from './Tree';
|
5 | export declare type ExpandAction = false | 'click' | 'doubleClick';
|
6 | export interface DirectoryTreeProps extends TreeProps {
|
7 | expandAction?: ExpandAction;
|
8 | }
|
9 | export interface DirectoryTreeState {
|
10 | expandedKeys?: Key[];
|
11 | selectedKeys?: Key[];
|
12 | }
|
13 | declare const ForwardDirectoryTree: React.ForwardRefExoticComponent<DirectoryTreeProps & React.RefAttributes<RcTree>>;
|
14 | export default ForwardDirectoryTree;
|