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.
24 lines
755 B
24 lines
755 B
import React from 'react';
|
|
import { IconType } from 'rc-tree/lib/interface';
|
|
import { Key, LegacyDataNode } from './interface';
|
|
interface ContextProps {
|
|
checkable: boolean | React.ReactNode;
|
|
checkedKeys: Key[];
|
|
halfCheckedKeys: Key[];
|
|
treeExpandedKeys: Key[];
|
|
treeDefaultExpandedKeys: Key[];
|
|
onTreeExpand: (keys: Key[]) => void;
|
|
treeDefaultExpandAll: boolean;
|
|
treeIcon: IconType;
|
|
showTreeIcon: boolean;
|
|
switcherIcon: IconType;
|
|
treeLine: boolean;
|
|
treeNodeFilterProp: string;
|
|
treeLoadedKeys: Key[];
|
|
treeMotion: any;
|
|
loadData: (treeNode: LegacyDataNode) => Promise<unknown>;
|
|
onTreeLoad: (loadedKeys: Key[]) => void;
|
|
}
|
|
export declare const SelectContext: React.Context<ContextProps>;
|
|
export {};
|