add header and sidebar sample

This commit is contained in:
AmirHossein Mahmoodi
2024-01-30 12:15:26 +03:30
parent f883b9cc8e
commit 21c5e5919b
3 changed files with 116 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
import {Box} from "@mui/material";
const HeaderWithLogo = ({headerHeight}) => {
return (<>
<Box sx={{position: 'fixed', height: headerHeight.header1, top: 0}}>header1</Box>
<Box sx={{position: 'fixed', height: headerHeight.header2, top: headerHeight.header1}}>header2</Box>
</>)
}
export default HeaderWithLogo