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/checkbox.d.ts | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts b/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts
index fb5d30d..0eb8b14 100644
--- a/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts
@@ -1,4 +1,6 @@
import { SuperComponent, ComponentsOptionsType, RelationsOptions } from '../common/src/index';
+import { TdCheckboxProps } from './type';
+export declare type CheckboxProps = TdCheckboxProps;
export default class CheckBox extends SuperComponent {
externalClasses: string[];
behaviors: string[];
@@ -8,6 +10,9 @@
theme: {
type: StringConstructor;
value: string;
+ };
+ tId: {
+ type: StringConstructor;
};
block?: {
type: BooleanConstructor;
@@ -41,13 +46,9 @@
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?: string[] | "rectangle" | "circle" | "line";
+ value?: import("./type").CheckboxIconType;
};
indeterminate?: {
type: BooleanConstructor;
--
Gitblit v1.9.3