From 8e3f3890e93d097df4be744648b9ac404d20a558 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 23 四月 2026 17:58:50 +0800
Subject: [PATCH] 2026.4.23
---
miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts b/miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts
index c795c54..7e2ac06 100644
--- a/miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/checkbox/type.d.ts
@@ -1,9 +1,9 @@
export interface TdCheckboxProps {
- placement?: {
- type: StringConstructor;
- value?: 'left' | 'right';
- };
block?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ borderless?: {
type: BooleanConstructor;
value?: boolean;
};
@@ -27,21 +27,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' | 'rectangle' | string[];
+ value?: CheckboxIconType;
};
indeterminate?: {
type: BooleanConstructor;
@@ -63,6 +55,10 @@
type: StringConstructor;
value?: string;
};
+ placement?: {
+ type: StringConstructor;
+ value?: 'left' | 'right';
+ };
readonly?: {
type: BooleanConstructor;
value?: boolean;
@@ -72,3 +68,4 @@
value?: string | number | boolean;
};
}
+export declare type CheckboxIconType = 'circle' | 'line' | 'rectangle' | string[];
--
Gitblit v1.9.3