Add onMouseEnter and onMouseLeave for Menu Item (#14454)

fix #14357
This commit is contained in:
ztplz 2019-01-22 11:25:20 +08:00 committed by zombieJ
parent 9a8e3dd609
commit 8cce556309

View File

@ -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> {