mirror of
https://github.com/D4M13N-D3V/comissions-app-ui.git
synced 2025-03-14 08:15:08 +00:00
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
![]() |
// ** MUI Imports
|
||
|
import { Theme } from '@mui/material/styles'
|
||
|
|
||
|
const Snackbar = (theme: Theme) => {
|
||
|
return {
|
||
|
MuiSnackbarContent: {
|
||
|
styleOverrides: {
|
||
|
root: {
|
||
|
backgroundColor: theme.palette.mode === 'light' ? theme.palette.grey[900] : theme.palette.grey[100]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default Snackbar
|