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;