Browse Source

Fix wrong event type of AntTreeNodeMouseEvent (#21200)

pull/21237/head
Jirka-Lhotka 5 years ago
committed by GitHub
parent
commit
3fb7325a21
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/tree/Tree.tsx

2
components/tree/Tree.tsx

@ -70,7 +70,7 @@ export interface AntTreeNodeExpandedEvent extends AntTreeNodeBaseEvent {
export interface AntTreeNodeMouseEvent {
node: AntTreeNode;
event: React.MouseEvent<HTMLElement>;
event: React.DragEvent<HTMLElement>;
}
export interface AntTreeNodeDragEnterEvent extends AntTreeNodeMouseEvent {

Loading…
Cancel
Save