1 | import type { DefaultOptionType, InternalFieldName, OnInternalSelect } from './TreeSelect';
|
2 | export interface TreeSelectContextProps {
|
3 | virtual?: boolean;
|
4 | listHeight: number;
|
5 | listItemHeight: number;
|
6 | treeData: DefaultOptionType[];
|
7 | fieldNames: InternalFieldName;
|
8 | onSelect: OnInternalSelect;
|
9 | }
|
10 | export declare function useProvideSelectContext(props: TreeSelectContextProps): void;
|
11 | export default function useInjectSelectContext(): TreeSelectContextProps;
|