riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/checkbox-group/type.d.ts
@@ -1,11 +1,16 @@
export interface TdCheckboxGroupProps {
    style?: {
        type: StringConstructor;
        value?: string;
import { KeysType } from '../common/common';
export interface TdCheckboxGroupProps<T = CheckboxGroupValue> {
    borderless?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    keys?: {
        type: ObjectConstructor;
        value?: KeysType;
    };
    max?: {
        type: NumberConstructor;
@@ -19,13 +24,17 @@
        type: ArrayConstructor;
        value?: Array<CheckboxOption>;
    };
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    value?: {
        type: ArrayConstructor;
        value?: CheckboxGroupValue;
        value?: T;
    };
    defaultValue?: {
        type: ArrayConstructor;
        value?: CheckboxGroupValue;
        value?: T;
    };
}
export declare type CheckboxOption = string | number | CheckboxOptionObj;
@@ -35,4 +44,4 @@
    disabled?: boolean;
    checkAll?: true;
}
export declare type CheckboxGroupValue = Array<string | number>;
export declare type CheckboxGroupValue = Array<string | number | boolean>;