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