diff options
Diffstat (limited to 'modern/src/common/components/NavBar.jsx')
-rw-r--r-- | modern/src/common/components/NavBar.jsx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/modern/src/common/components/NavBar.jsx b/modern/src/common/components/NavBar.jsx deleted file mode 100644 index a53960fd..00000000 --- a/modern/src/common/components/NavBar.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from 'react'; -import { - AppBar, Toolbar, Typography, IconButton, -} from '@mui/material'; -import MenuIcon from '@mui/icons-material/Menu'; - -const Navbar = ({ setOpenDrawer, title }) => ( - <AppBar position="sticky" color="inherit"> - <Toolbar> - <IconButton - color="inherit" - edge="start" - sx={{ mr: 2 }} - onClick={() => setOpenDrawer(true)} - > - <MenuIcon /> - </IconButton> - <Typography variant="h6" noWrap> - {title} - </Typography> - </Toolbar> - </AppBar> -); - -export default Navbar; |