add NavBarActionMenu.vue

This commit is contained in:
Timi
2026-08-22 15:33:58 +08:00
parent 189916b68d
commit e237b71f13
5 changed files with 186 additions and 111 deletions
+15
View File
@@ -0,0 +1,15 @@
import type { ButtonProps } from "tdesign-mobile-vue";
/**
* 顶部导航右侧菜单项。
*/
export type NavBarAction = {
action: () => void | Promise<void>;
disabled?: boolean;
icon?: string;
key: string;
loading?: boolean;
text: string;
theme?: ButtonProps["theme"];
visible?: boolean;
};