19 lines
528 B
TypeScript
19 lines
528 B
TypeScript
// MATERIAL - UI
|
|
import { Theme } from '@mui/material';
|
|
|
|
// ==============================|| OVERRIDES - TABLE HEAD ||============================== //
|
|
|
|
export default function TableHead(theme: Theme) {
|
|
return {
|
|
MuiTableHead: {
|
|
styleOverrides: {
|
|
root: {
|
|
backgroundColor: theme.palette.secondary[theme.palette.mode === 'dark' ? '950' : 'lighter'],
|
|
borderTop: `1px solid ${theme.palette.divider}`,
|
|
borderBottom: `2px solid ${theme.palette.divider}`
|
|
}
|
|
}
|
|
}
|
|
};
|
|
}
|