material-ui -> mui-material migration.

This commit is contained in:
Robin Davies
2022-02-15 15:59:58 -05:00
parent dd4d883b0b
commit ac51296782
19 changed files with 969 additions and 1423 deletions
+4 -3
View File
@@ -29,7 +29,8 @@ import ArrowBackIcon from '@mui/icons-material/ArrowBack';
import { Theme } from '@mui/material/styles';
const drawerStyles = ({ palette }: Theme) => createStyles({
const drawerStyles = (theme: Theme) => {
return createStyles({
list: {
width: 250,
},
@@ -39,10 +40,10 @@ const drawerStyles = ({ palette }: Theme) => createStyles({
drawer_header: {
color: 'white',
background: palette.primary.main,
background: theme.palette.primary.main,
}
});
})};
type Anchor = 'top' | 'left' | 'bottom' | 'right';