import { alpha } from '@mui/material/styles'; import CssBaseline from '@mui/material/CssBaseline'; import Box from '@mui/material/Box'; import Stack from '@mui/material/Stack'; import AppNavbar from './components/AppNavbar'; import Header from './components/Header'; import MainGrid from './components/MainGrid'; import SideMenu from './components/SideMenu'; import AppTheme from '../shared-theme/AppTheme'; import { chartsCustomizations, dataGridCustomizations, datePickersCustomizations, treeViewCustomizations, } from './theme/customizations'; const xThemeComponents = { ...chartsCustomizations, ...dataGridCustomizations, ...datePickersCustomizations, ...treeViewCustomizations, }; export default function Dashboard(props) { return ( {/* Main content */} ({ flexGrow: 1, backgroundColor: theme.vars ? `rgba(${theme.vars.palette.background.defaultChannel} / 1)` : alpha(theme.palette.background.default, 1), overflow: 'auto', })} >
); }