1 | import React from 'react';
|
2 | import { IconType } from 'rc-tree/lib/interface';
|
3 | import { Key, LegacyDataNode } from './interface';
|
4 | interface ContextProps {
|
5 | checkable: boolean | React.ReactNode;
|
6 | checkedKeys: Key[];
|
7 | halfCheckedKeys: Key[];
|
8 | treeExpandedKeys: Key[];
|
9 | treeDefaultExpandedKeys: Key[];
|
10 | onTreeExpand: (keys: Key[]) => void;
|
11 | treeDefaultExpandAll: boolean;
|
12 | treeIcon: IconType;
|
13 | showTreeIcon: boolean;
|
14 | switcherIcon: IconType;
|
15 | treeLine: boolean;
|
16 | treeNodeFilterProp: string;
|
17 | treeLoadedKeys: Key[];
|
18 | treeMotion: any;
|
19 | loadData: (treeNode: LegacyDataNode) => Promise<unknown>;
|
20 | onTreeLoad: (loadedKeys: Key[]) => void;
|
21 | }
|
22 | export declare const SelectContext: React.Context<ContextProps>;
|
23 | export {};
|