Skip to content

Commit

Permalink
docs: add onMouseEnter and onMouseLeave event TypeScript definition …
Browse files Browse the repository at this point in the history
…for Tree (ant-design#18796)

* 📝 Add onMouseEnter and onMouseLeave event typeScript definition

close ant-design#18786

* 👌 remove document
  • Loading branch information
MrHeer authored and afc163 committed Sep 13, 2019
1 parent 09810a2 commit 56abebf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/tree/Tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 56abebf

Please sign in to comment.