import type {} from '@mui/x-date-pickers/themeAugmentation'; import type {} from '@mui/x-charts/themeAugmentation'; import type {} from '@mui/x-data-grid-pro/themeAugmentation'; import type {} from '@mui/x-tree-view/themeAugmentation'; 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: { disableCustomTheme?: boolean }) { return ( {/* Main content */} ({ flexGrow: 1, backgroundColor: theme.vars ? `rgba(${theme.vars.palette.background.defaultChannel} / 1)` : alpha(theme.palette.background.default, 1), overflow: 'auto', })} >
); }