riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/radio-group/type.d.ts
@@ -1,17 +1,12 @@
import { RadioValue } from '../radio/type';
import { KeysType } from '../common/common';
export interface TdRadioGroupProps<T = RadioValue> {
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    allowUncheck?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    borderless?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    style?: {
        type: StringConstructor;
        value?: string;
    };
    disabled?: {
        type: BooleanConstructor;
@@ -33,6 +28,14 @@
        type: ArrayConstructor;
        value?: Array<RadioOption>;
    };
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    };
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    value?: {
        type: null;
        value?: T;
@@ -46,5 +49,8 @@
export interface RadioOptionObj {
    label?: string;
    value?: string | number;
    readonly?: boolean;
    disabled?: boolean;
    allowUncheck?: boolean;
}
export declare type RadioValue = string | number | boolean;