docs: add onMouseEnter and onMouseLeave event TypeScript definition for Tree (#18796)

* 📝 Add onMouseEnter and onMouseLeave event typeScript definition

close #18786

* 👌 remove document
This commit is contained in:
He Linming 2019-09-13 13:30:01 +08:00 committed by 偏右
parent 09810a28d9
commit 56abebfb3c

View File

@ -154,6 +154,8 @@ export interface TreeProps {
onDragOver?: (options: AntTreeNodeMouseEvent) => void;
onDragLeave?: (options: AntTreeNodeMouseEvent) => void;
onDragEnd?: (options: AntTreeNodeMouseEvent) => void;
onMouseEnter?: (options: AntTreeNodeMouseEvent) => void;
onMouseLeave?: (options: AntTreeNodeMouseEvent) => void;
onDrop?: (options: AntTreeNodeDropEvent) => void;
style?: React.CSSProperties;
showIcon?: boolean;