From 0c28a4ba25bf2932d59331f925a36ae0f8c49b3b Mon Sep 17 00:00:00 2001 From: chip Date: Sun, 11 Oct 2020 02:13:42 +0200 Subject: [PATCH] Tweak(Sellout): Navigation Component JS > TSX --- .../components/navigation/NavigationBar.js | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 phone/src/apps/sellout/components/navigation/NavigationBar.js diff --git a/phone/src/apps/sellout/components/navigation/NavigationBar.js b/phone/src/apps/sellout/components/navigation/NavigationBar.js deleted file mode 100644 index 3763989..0000000 --- a/phone/src/apps/sellout/components/navigation/NavigationBar.js +++ /dev/null @@ -1,47 +0,0 @@ -import React, { useState } from 'react'; -import { makeStyles } from '@material-ui/core/styles'; -import { Link } from "react-router-dom"; -import { BottomNavigation, BottomNavigationAction } from "@material-ui/core"; -import HomeIcon from '@material-ui/icons/Home'; -import AddCircleIcon from '@material-ui/icons/AddCircle'; -import FaceIcon from '@material-ui/icons/Face'; - -const useStyles = makeStyles((theme) => ({ - root: { - width: '100%' - }, - icon: { - color: "#f44336" - } -})) - -export const NavigationBar = () => { - const classes = useStyles(); - const [activePage, setActivePage] = useState(0); - return ( - { - setActivePage(newPage) - }} - showLabels - className={classes.root} - > - } - to="/sellout" - /> - } - to="/sellout/new" - /> - } - to="/sellout/profile" - /> - - ) -}