Created the Root.jsx
This commit is contained in:
parent
8963a2ff88
commit
cbc237a733
16
src/common/layouts/Root/Root.jsx
Normal file
16
src/common/layouts/Root/Root.jsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import Navigation from "@components/Navigation";
|
||||||
|
import {Outlet} from "react-router-dom";
|
||||||
|
import {Box, Toolbar} from "@mui/material";
|
||||||
|
|
||||||
|
export const Root = () => {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<Navigation/>
|
||||||
|
|
||||||
|
<Box height="100vh" display="flex" flexDirection="column">
|
||||||
|
<Toolbar/>
|
||||||
|
<Outlet/>
|
||||||
|
</Box>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user