From ccc5bbc89af2e48ca574058ecb60c8cc5600d301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cjonyshi=E2=80=9D?= Date: Tue, 4 Dec 2018 08:57:34 +0800 Subject: [PATCH] onDrop props --- src/lib/dragColumn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/dragColumn.js b/src/lib/dragColumn.js index ae18764..e4dff9d 100644 --- a/src/lib/dragColumn.js +++ b/src/lib/dragColumn.js @@ -93,8 +93,8 @@ export default function dragColumn(Table) { this.setState({ columns:cloneDeep(columns) }); - if(this.props.dragDrop){ - this.props.dragDrop(event,data,newColumns); + if(this.props.onDrop){ + this.props.onDrop(event,data,newColumns); } }