From 1f9e43b7bbb848c7ee2aaa89ffece17002b2c915 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 16 一月 2026 17:31:08 +0800
Subject: [PATCH] 2026.1.16
---
miniprogram_npm/tdesign-miniprogram/radio/type.d.ts | 26 +++++++++-----------------
1 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/radio/type.d.ts b/miniprogram_npm/tdesign-miniprogram/radio/type.d.ts
index a56349c..c39da7f 100644
--- a/miniprogram_npm/tdesign-miniprogram/radio/type.d.ts
+++ b/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,25 +23,13 @@
type: BooleanConstructor;
value?: boolean;
};
- style?: {
- type: StringConstructor;
- value?: string;
- };
- readonly?: {
- type: BooleanConstructor;
- value?: boolean;
- };
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;
@@ -63,6 +47,14 @@
type: StringConstructor;
value?: string;
};
+ placement?: {
+ type: StringConstructor;
+ value?: 'left' | 'right';
+ };
+ readonly?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
value?: {
type: null;
value?: T;
--
Gitblit v1.9.3