提交 8cce5563 编写于 作者: Z ztplz 提交者: zombieJ

Add onMouseEnter and onMouseLeave for Menu Item (#14454)

fix #14357
上级 9a8e3dd6
......@@ -12,6 +12,8 @@ interface MenuItemProps {
children?: React.ReactNode;
className?: string;
onClick?: (param: ClickParam) => void;
onMouseEnter?: (event: string, e: MouseEvent) => void;
onMouseLeave?: (event: string, e: MouseEvent) => void;
}
class MenuItem extends React.Component<MenuItemProps, any> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册