2020-05-19 11:40:49 +03:00

21 lines
487 B
JavaScript

import { TableCell, TableRow } from "@material-ui/core";
import { withStyles } from "@material-ui/core/styles";
export const StyledTableCell = withStyles((theme) => ({
head: {
backgroundColor: theme.palette.primary.main,
color: theme.palette.common.white
},
body: {
fontSize: 14
}
}))(TableCell);
export const StyledTableRow = withStyles((theme) => ({
root: {
"&:nth-of-type(odd)": {
backgroundColor: theme.palette.action.hover
}
}
}))(TableRow);