UNPKG

tdesign-miniprogram

Version:
33 lines (32 loc) 802 B
import { TreeOptionData, TreeKeysType } from '../common/common'; export interface TdTreeSelectProps<DataOption extends TreeOptionData = TreeOptionData> { customValue?: { type: null; value?: TreeSelectValue; }; height?: { type: null; value?: string | number; }; keys?: { type: ObjectConstructor; value?: TreeKeysType; }; multiple?: { type: BooleanConstructor; value?: boolean; }; options?: { type: ArrayConstructor; value?: Array<DataOption>; }; value?: { type: null; value?: TreeSelectValue; }; defaultValue?: { type: null; value?: TreeSelectValue; }; } export declare type TreeSelectValue = string | number | Array<TreeSelectValue>;