From 54e92dc27efaeeea2eb5082499972f9ce8f98506 Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 9 Jan 2025 18:48:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ContextMenu=20menuItem=20=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=20(#11473)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-ui/src/components/ContextMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis-ui/src/components/ContextMenu.tsx b/packages/amis-ui/src/components/ContextMenu.tsx index 4320094930d..f3c96366da1 100644 --- a/packages/amis-ui/src/components/ContextMenu.tsx +++ b/packages/amis-ui/src/components/ContextMenu.tsx @@ -27,7 +27,7 @@ interface ContextMenuProps { export type MenuItem = { id?: string; - label: string; + label: string | React.ReactNode; icon?: string; disabled?: boolean; children?: Array;