declare const rowsSelectionSource = "\nimport { DataTable, RowsSelectionMenuItem, Icon } from '@jtl-software/platform-ui-react';\n\nconst App = () => {\n\n  const menuItems: RowsSelectionMenuItem<DataType>[] = [\n    {\n      label: 'Download',\n      icon: 'Download' as LucideIconName,\n      type: 'outline' as const,\n      onClick: (records: DataType[]) => {},\n    },\n    {\n      label: 'Edit',\n      icon: 'Edit' as LucideIconName,\n      type: 'default' as const,\n      onClick: (records: DataType[]) => {},\n    },\n    {\n      label: 'Delete',\n      icon: 'Trash2' as LucideIconName,\n      type: 'destructive' as const,\n      onClick: (records: DataType[]) => {},\n    },\n    {\n      label: 'Detail',\n      icon: 'Info' as LucideIconName,\n      type: 'default' as const,\n     onClick: (records: DataType[]) => {},\n    },\n    {\n      label: 'Pinned',\n      icon: <Icon name=\"Pin\" />,\n      type: 'default' as const,\n      onClick: (records: DataType[]) => {},\n    },\n  ];\n\n  return (\n    <DataTable\n      dataSource={data} // mock data\n      columns={columns}\n      rowKey=\"id\"\n      tableHeight={500}\n      rowsSelection={{\n        enabled: true,\n        menuItems,\n      }}\n    />\n  );\n};  \n\nexport default App;\n";
export default rowsSelectionSource;
