acud
Version:
acg react 组件库
17 lines (16 loc) • 616 B
TypeScript
import * as React from 'react';
import type { ExpandAction } from 'rc-tree/lib/Tree';
import type { DefaultOptionType, InternalFieldName, OnInternalSelect } from './TreeSelect';
export interface TreeSelectContextProps {
virtual?: boolean;
dropdownMatchSelectWidth?: boolean | number;
listHeight: number;
listItemHeight: number;
treeData: DefaultOptionType[];
fieldNames: InternalFieldName;
onSelect: OnInternalSelect;
triggerChange?: any;
treeExpandAction?: ExpandAction;
}
declare const TreeSelectContext: React.Context<TreeSelectContextProps>;
export default TreeSelectContext;