Skip to content

Commit c74edaf

Browse files
Merge pull request #703 from sudhanshutech/custom/comp
Add checkbox as default
2 parents ea716a4 + c841d04 commit c74edaf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/custom/ResponsiveDataTable.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Theme, ThemeProvider, createTheme, styled } from '@mui/material';
22
import MUIDataTable from 'mui-datatables';
33
import React, { useCallback } from 'react';
4-
import { Collapse, ListItemIcon, ListItemText, Menu, MenuItem } from '../base';
4+
import { Checkbox, Collapse, ListItemIcon, ListItemText, Menu, MenuItem } from '../base';
55
import { ShareIcon } from '../icons';
66
import { EllipsisIcon } from '../icons/Ellipsis';
77
import TooltipIcon from './TooltipIcon';
@@ -356,7 +356,8 @@ const ResponsiveDataTable = ({
356356
}, [updateColumnsEffect]);
357357

358358
const components = {
359-
ExpandButton: () => ''
359+
ExpandButton: () => '',
360+
Checkbox: Checkbox
360361
};
361362

362363
return (

0 commit comments

Comments
 (0)