| 1234567891011121314151617181920212223242526272829303132 |
- 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>;
|