Skip to content

Commit

Permalink
chore: move MTableBodyRow to own directory
Browse files Browse the repository at this point in the history
  • Loading branch information
oze4 committed Aug 1, 2021
1 parent 4b59b42 commit 4c5354f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
// Third-party
import React from 'react';
import Checkbox from '@material-ui/core/Checkbox';
import TableCell from '@material-ui/core/TableCell';
import IconButton from '@material-ui/core/IconButton';
import Icon from '@material-ui/core/Icon';
import Tooltip from '@material-ui/core/Tooltip';
import TableRow from '@material-ui/core/TableRow';
import { MTableDetailPanel } from './m-table-detailpanel';
import PropTypes from 'prop-types';
import * as CommonValues from '../utils/common-values';
import { useDoubleClick } from '../utils/hooks/useDoubleClick';
import {
Checkbox,
TableCell,
IconButton,
Icon,
Tooltip,
TableRow
} from '@material-ui/core';
// Internal
import { MTableDetailPanel } from '../m-table-detailpanel';
import * as CommonValues from '../../utils/common-values';
import { useDoubleClick } from '../../utils/hooks/useDoubleClick';

export default function MTableBodyRow(props) {
const {
Expand Down
4 changes: 2 additions & 2 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export { default as Container } from './Container';

/** Still needs to be refactored into functional */
export { default as MTableBody } from './m-table-body';
export { default as MTableBodyRow } from './m-table-body-row';
/** HAVING ISSUES WITH THE REFACTORED VERSIONS OF: */
export { default as MTableEditField } from './m-table-edit-field';
export { default as MTableEditCell } from './m-table-edit-cell';
Expand All @@ -26,6 +25,7 @@ export { default as MTableEditCell } from './m-table-edit-cell';
// Trying to keep these in alphabetical order
export { default as MTableAction } from './MTableAction';
export { default as MTableActions } from './MTableActions';
export { default as MTableBodyRow } from './MTableBodyRow.js';
export { default as MTableCell } from './MTableCell';
export { default as MTableEditRow } from './MTableEditRow';
export { default as MTableFilterRow } from './MTableFilterRow';
Expand All @@ -34,7 +34,7 @@ export { default as MTableGroupRow } from './MTableGroupRow';
export { default as MTableHeader } from './MTableHeader';
export { default as MTableSteppedPagination } from './MTableSteppedPaginationInner';
export { default as MTablePagination } from './MTablePagination';
export { default as MTableSummaryRow } from "./MTableSummaryRow";
export { default as MTableSummaryRow } from './MTableSummaryRow';
export { default as MTableToolbar } from './MTableToolbar';
/** THESE REFACTORS ARE HAVING ISSUES */
// export { default as MTableEditCell } from './MTableEditCell';
Expand Down

0 comments on commit 4c5354f

Please sign in to comment.