diff --git a/src/components/ItemTableCell/ItemTableCell.js b/src/components/ItemTableCell/ItemTableCell.js index c2c906a..cf13a74 100644 --- a/src/components/ItemTableCell/ItemTableCell.js +++ b/src/components/ItemTableCell/ItemTableCell.js @@ -2,7 +2,7 @@ import React from 'react' import PropTypes from "prop-types"; import { makeStyles, TableCell, useTheme } from '@material-ui/core' -export default function ItemTableCell({ backgroundColor, children, TableCellProps }) { +export default function ItemTableCell({ children, TableCellProps }) { const theme = useTheme(); const useStyles = makeStyles({ columnBorders: { @@ -16,7 +16,6 @@ export default function ItemTableCell({ backgroundColor, children, TableCellProp const classes = useStyles(); return ( @@ -26,17 +25,13 @@ export default function ItemTableCell({ backgroundColor, children, TableCellProp } ItemTableCell.propTypes = { - /** Sets background color*/ - "backgroundColor": PropTypes.string, /** Child object passed to display cell data. */ "children": PropTypes.object, /** Props applied to the TableCell component. */ "TableCellProps": PropTypes.object - }; ItemTableCell.defaultProps = { - "reactTableProps": {}, - "backgroundColor": "", "children": {}, + "TableCellProps": {}, }; \ No newline at end of file