import { P as e } from "../../../../packageName-CJwD6mUt.js";
const o = `
import { DataTable, RowsSelectionMenuItem, Icon } from '${e}';

const App = () => {

  const menuItems: RowsSelectionMenuItem<DataType>[] = [
    {
      label: 'Download',
      icon: 'Download' as LucideIconName,
      type: 'outline' as const,
      onClick: (records: DataType[]) => {},
    },
    {
      label: 'Edit',
      icon: 'Edit' as LucideIconName,
      type: 'default' as const,
      onClick: (records: DataType[]) => {},
    },
    {
      label: 'Delete',
      icon: 'Trash2' as LucideIconName,
      type: 'destructive' as const,
      onClick: (records: DataType[]) => {},
    },
    {
      label: 'Detail',
      icon: 'Info' as LucideIconName,
      type: 'default' as const,
     onClick: (records: DataType[]) => {},
    },
    {
      label: 'Pinned',
      icon: <Icon name="Pin" />,
      type: 'default' as const,
      onClick: (records: DataType[]) => {},
    },
  ];

  return (
    <DataTable
      dataSource={data} // mock data
      columns={columns}
      rowKey="id"
      tableHeight={500}
      rowsSelection={{
        enabled: true,
        menuItems,
      }}
    />
  );
};  

export default App;
`;
export {
  o as default
};
//# sourceMappingURL=rowsSelectionSource.js.map
