declare const dragNDropSource = "\nconst [columnOrder, setColumnOrder] = useState<string[]>([]);\n\nconst handleColumnOrderChange = (newOrder: string[]) => {\n  setColumnOrder(newOrder);\n  console.log('Column order changed:', newOrder);\n};\n\n<DataTable\n  dataSource={data}\n  columns={columns}\n  tableHeight={tableHeight}\n  size=\"sm\"\n  draggable={{\n    enabled: true,\n    value: columnOrder,\n    onChange: handleColumnOrderChange,\n  }}\n/>\n";
export default dragNDropSource;
