riku
9 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts
@@ -1,9 +1,9 @@
export interface TdCheckboxProps {
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    };
    block?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    borderless?: {
        type: BooleanConstructor;
        value?: boolean;
    };
@@ -27,21 +27,13 @@
        type: BooleanConstructor;
        value?: boolean;
    };
    style?: {
        type: StringConstructor;
        value?: string;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    externalClasses?: {
        type: ArrayConstructor;
        value?: ['t-class', 't-class-icon', 't-class-label', 't-class-content', 't-class-border'];
    };
    icon?: {
        type: null;
        value?: 'circle' | 'line' | 'rectangle' | string[];
        value?: CheckboxIconType;
    };
    indeterminate?: {
        type: BooleanConstructor;
@@ -63,6 +55,10 @@
        type: StringConstructor;
        value?: string;
    };
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    };
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
@@ -72,3 +68,4 @@
        value?: string | number | boolean;
    };
}
export declare type CheckboxIconType = 'circle' | 'line' | 'rectangle' | string[];