You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
550 B
15 lines
550 B
import * as React from 'react';
|
|
import RcTree from 'rc-tree';
|
|
import { Key } from 'rc-tree/lib/interface';
|
|
import { TreeProps } from './Tree';
|
|
export declare type ExpandAction = false | 'click' | 'doubleClick';
|
|
export interface DirectoryTreeProps extends TreeProps {
|
|
expandAction?: ExpandAction;
|
|
}
|
|
export interface DirectoryTreeState {
|
|
expandedKeys?: Key[];
|
|
selectedKeys?: Key[];
|
|
}
|
|
declare const ForwardDirectoryTree: React.ForwardRefExoticComponent<DirectoryTreeProps & React.RefAttributes<RcTree>>;
|
|
export default ForwardDirectoryTree;
|