Skip to content

Commit c90cbf9

Browse files
committed
fix type
1 parent f7175fe commit c90cbf9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Menu/MenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface MenuItemProps
2323
/**
2424
* Tooltip, but only added to the label, not to the full menu item.
2525
*/
26-
tooltip?: React.ReactNode;
26+
tooltip?: string | Element;
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)