wetrade-design
Version:
一款多语言支持Vue3的UI框架
12 lines (11 loc) • 473 B
TypeScript
import type { DefaultOptionType, InternalFieldName, OnInternalSelect } from './TreeSelect';
export interface TreeSelectContextProps {
virtual?: boolean;
listHeight: number;
listItemHeight: number;
treeData: DefaultOptionType[];
fieldNames: InternalFieldName;
onSelect: OnInternalSelect;
}
export declare function useProvideSelectContext(props: TreeSelectContextProps): void;
export default function useInjectSelectContext(): TreeSelectContextProps;