riku
9 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
miniprogram_npm/tdesign-miniprogram/checkbox-group/type.d.ts
@@ -1,3 +1,5 @@
import { CheckboxIconType } from '../checkbox/index';
import { KeysType } from '../common/common';
export interface TdCheckboxGroupProps<T = CheckboxGroupValue> {
    borderless?: {
        type: BooleanConstructor;
@@ -6,6 +8,10 @@
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    keys?: {
        type: ObjectConstructor;
        value?: KeysType;
    };
    max?: {
        type: NumberConstructor;
@@ -18,6 +24,10 @@
    options?: {
        type: ArrayConstructor;
        value?: Array<CheckboxOption>;
    };
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    value?: {
        type: ArrayConstructor;
@@ -33,6 +43,7 @@
    label?: string;
    value?: string | number;
    disabled?: boolean;
    icon?: CheckboxIconType;
    checkAll?: true;
}
export declare type CheckboxGroupValue = Array<string | number | boolean>;