19 lines
538 B
JavaScript
19 lines
538 B
JavaScript
import { Box, Stack } from "@mui/material";
|
|
import HeaderWithLogo from "@/components/layouts/dashboard/headerWithLogo";
|
|
import HeaderWithSidebar from "@/components/layouts/dashboard/headerWithSidebar";
|
|
import 'react-toastify/dist/ReactToastify.css';
|
|
|
|
const Template = ({ children }) => {
|
|
return (
|
|
<Stack>
|
|
<HeaderWithLogo />
|
|
<Box>
|
|
<HeaderWithSidebar>
|
|
{children}
|
|
</HeaderWithSidebar>
|
|
</Box>
|
|
</Stack>
|
|
)
|
|
}
|
|
|
|
export default Template |