Skip to content

Commit

Permalink
feat: ContextMenu menuItem 声明 (#11473)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenve authored Jan 9, 2025
1 parent d9bad55 commit 54e92dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis-ui/src/components/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface ContextMenuProps {

export type MenuItem = {
id?: string;
label: string;
label: string | React.ReactNode;
icon?: string;
disabled?: boolean;
children?: Array<MenuItem | MenuDivider>;
Expand Down

0 comments on commit 54e92dc

Please sign in to comment.