aboutsummaryrefslogtreecommitdiff
path: root/modern/src/components/NavBar.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 11:48:09 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 11:48:09 -0700
commit2352071211b61c10fa5bf5736baaff7809d18bf0 (patch)
tree743e4adc1cc35fb3585b912daaa8719ae5757f60 /modern/src/components/NavBar.js
parent044733ff543156d76437daae8edb66850d785ac9 (diff)
downloadtrackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.tar.gz
trackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.tar.bz2
trackermap-web-2352071211b61c10fa5bf5736baaff7809d18bf0.zip
Organize common code
Diffstat (limited to 'modern/src/components/NavBar.js')
-rw-r--r--modern/src/components/NavBar.js20
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;