Skip to content

Commit

Permalink
Merge pull request #703 from sudhanshutech/custom/comp
Browse files Browse the repository at this point in the history
Add checkbox as default
  • Loading branch information
sudhanshutech authored Aug 6, 2024
2 parents ea716a4 + c841d04 commit c74edaf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/custom/ResponsiveDataTable.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Theme, ThemeProvider, createTheme, styled } from '@mui/material';
import MUIDataTable from 'mui-datatables';
import React, { useCallback } from 'react';
import { Collapse, ListItemIcon, ListItemText, Menu, MenuItem } from '../base';
import { Checkbox, Collapse, ListItemIcon, ListItemText, Menu, MenuItem } from '../base';
import { ShareIcon } from '../icons';
import { EllipsisIcon } from '../icons/Ellipsis';
import TooltipIcon from './TooltipIcon';
Expand Down Expand Up @@ -356,7 +356,8 @@ const ResponsiveDataTable = ({
}, [updateColumnsEffect]);

const components = {
ExpandButton: () => ''
ExpandButton: () => '',
Checkbox: Checkbox
};

return (
Expand Down

0 comments on commit c74edaf

Please sign in to comment.