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/action-sheet/type.d.ts | 23 ++++++++++++++++++-----
1 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/action-sheet/type.d.ts b/miniprogram_npm/tdesign-miniprogram/action-sheet/type.d.ts
index c218af7..5105e53 100644
--- a/miniprogram_npm/tdesign-miniprogram/action-sheet/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/action-sheet/type.d.ts
@@ -1,3 +1,4 @@
+import { PopupProps } from '../popup/index';
export interface TdActionSheetProps {
align?: {
type: StringConstructor;
@@ -18,8 +19,17 @@
items: {
type: ArrayConstructor;
value?: Array<string | ActionSheetItem>;
+ required?: boolean;
+ };
+ popupProps?: {
+ type: ObjectConstructor;
+ value?: PopupProps;
};
showCancel?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ showOverlay?: {
type: BooleanConstructor;
value?: boolean;
};
@@ -27,21 +37,24 @@
type: StringConstructor;
value?: 'list' | 'grid';
};
- visible: {
+ usingCustomNavbar?: {
type: BooleanConstructor;
value?: boolean;
};
- defaultVisible: {
+ visible?: {
type: BooleanConstructor;
value?: boolean;
};
- popupProps: {
- type: ObjectConstructor;
- value?: object;
+ defaultVisible?: {
+ type: BooleanConstructor;
+ value?: boolean;
};
}
export interface ActionSheetItem {
label: string;
+ description?: string;
color?: string;
disabled?: boolean;
+ icon?: string | object;
+ suffixIcon?: string | object;
}
--
Gitblit v1.9.3