diff --git a/demo/demolist/Demo0402.js b/demo/demolist/Demo0402.js index a0824ca..be5a86e 100644 --- a/demo/demolist/Demo0402.js +++ b/demo/demolist/Demo0402.js @@ -11,7 +11,8 @@ import React, { Component } from "react"; import Table from "../../src"; import {Button} from "tinper-bee"; -const { ColumnGroup, Column } = Table; +import dragColumn from '../../src/lib/dragColumn'; +// const { ColumnGroup, Column } = Table; const columns = [ { @@ -103,15 +104,21 @@ for (let i = 0; i < 20; i++) { }); } +const DragColumnTable = dragColumn(Table); + class Demo32 extends Component { render() { return ( -