riku
9 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts
@@ -1,4 +1,6 @@
import { SuperComponent, ComponentsOptionsType, RelationsOptions } from '../common/src/index';
import { TdCheckboxProps } from './type';
export declare type CheckboxProps = TdCheckboxProps;
export default class CheckBox extends SuperComponent {
    externalClasses: string[];
    behaviors: string[];
@@ -8,6 +10,9 @@
        theme: {
            type: StringConstructor;
            value: string;
        };
        tId: {
            type: StringConstructor;
        };
        block?: {
            type: BooleanConstructor;
@@ -41,13 +46,9 @@
            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?: string[] | "rectangle" | "circle" | "line";
            value?: import("./type").CheckboxIconType;
        };
        indeterminate?: {
            type: BooleanConstructor;