declare const columnSelectorSource = "\nimport { DataTable, ITableColumnProps, Badge } from '@jtl-software/platform-ui-react';\n\nconst App = () => {\n\n  const [selectedColumns, setSelectedColumns] = useState<ITableColumnProps<YourDataType>[]>([]);\n\n  const handleColumnChange = (updatedColumns: ITableColumnProps<YourDataType>[]) => {\n    setSelectedColumns(updatedColumns);\n\n    // Write the function to mock data by yourself\n    \n  };\n\n  return (\n    <DataTable \n      dataSource={data}  // Mock data\n      columns={columns} \n      tableHeight={tableHeight} \n      columnSelector={{\n        enabled: true,\n        value: selectedColumns,\n        onChange: handleColumnChange,\n      }}\n    />\n  );\n};\n\nexport default App;\n";
export default columnSelectorSource;
