import React, { useState } from "react"; import { styled } from "@mui/material/styles"; import AppRoutes from "./AppRoutes"; import TopBar from "./TopBar"; import Sidebar from "./SideBar"; import { drawerWidth } from "./constants"; import { Box } from "@mui/material"; const DrawerHeader = styled("div")(({ theme }) => ({ display: "flex", alignItems: "center", justifyContent: "flex-end", padding: theme.spacing(0, 1), // necessary for content to be below app bar ...theme.mixins.toolbar })); const AppLayout: React.FC = () => { const [open, setOpen] = useState(false); const handleDrawerOpen = () => { setOpen(true); }; const handleDrawerClose = () => { setOpen(false); }; return ( ); }; export default AppLayout;