Browse Source

Fix incorrect tree type (#16624)

pull/16637/head
ztplz 6 years ago
committed by zombieJ
parent
commit
9308f19314
  1. 4
      components/tree/Tree.tsx

4
components/tree/Tree.tsx

@ -69,7 +69,7 @@ export interface AntTreeNodeExpandedEvent extends AntTreeNodeBaseEvent {
export interface AntTreeNodeMouseEvent {
node: AntTreeNode;
event: React.MouseEventHandler<any>;
event: React.MouseEvent<any>;
}
export interface AntTreeNodeDropEvent {
@ -78,7 +78,7 @@ export interface AntTreeNodeDropEvent {
dragNodesKeys: string[];
dropPosition: number;
dropToGap?: boolean;
event: React.MouseEventHandler<any>;
event: React.MouseEvent<any>;
}
export interface TreeProps {

Loading…
Cancel
Save