Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Jan 20, 2021
1 parent f36ac8e commit 375b679
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/ItemTableCell/ItemTableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@ export default function ItemTableCell({ reactTableCellProps, backgroundColor, ch

const classes = useStyles();
return (
<TableCell style={{backgroundColor:backgroundColor}} {...reactTableCellProps} classes={{ root: classes.columnBorders }}>
<TableCell style={{ backgroundColor: backgroundColor }} {...reactTableCellProps} classes={{ root: classes.columnBorders }}>
{children}
</TableCell>
);
}

ItemTableCell.propTypes = {
/** Props passed from ItemTable. */
"reactTableProps": PropTypes.object,
/** Sets background color*/
"backgroundColor": PropTypes.string,
/** Child object passed to display cell data. */
"children": PropTypes.object,
/** Props passed from ItemTable. */
"reactTableProps": PropTypes.object,
/** Sets background color*/
"backgroundColor": PropTypes.string,
/** Child object passed to display cell data. */
"children": PropTypes.object,

};

ItemTableCell.defaultProps = {
"reactTableProps": {},
"backgroundColor": "",
"children": {},
"reactTableProps": {},
"backgroundColor": "",
"children": {},
};

0 comments on commit 375b679

Please sign in to comment.