riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/tree-select/type.d.ts
对比新文件
@@ -0,0 +1,32 @@
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>;