riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
miniprogram_npm/tdesign-miniprogram/radio/type.d.ts
@@ -1,8 +1,4 @@
export interface TdRadioProps<T = RadioValue> {
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    };
    allowUncheck?: {
        type: BooleanConstructor;
        value?: boolean;
@@ -27,21 +23,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' | Array<string>;
        value?: 'circle' | 'line' | 'dot' | Array<string>;
    };
    label?: {
        type: StringConstructor;
@@ -59,6 +47,14 @@
        type: StringConstructor;
        value?: string;
    };
    placement?: {
        type: StringConstructor;
        value?: 'left' | 'right';
    };
    readonly?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    value?: {
        type: null;
        value?: T;