mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(bank/nui): new icons for navigation bar
This commit is contained in:
1 parent
974c3b2969
commit
15276fe959
1 file changed
+11
-3
@@ -4,8 +4,8 @@ import { Link } from "react-router-dom";
|
||||
import { BottomNavigation, BottomNavigationAction } from "@material-ui/core";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faHome } from "@fortawesome/free-solid-svg-icons";
|
||||
import AddCircleIcon from "@material-ui/icons/AddCircle";
|
||||
import { faHome, faList, faMoneyCheck } from "@fortawesome/free-solid-svg-icons";
|
||||
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
@@ -21,6 +21,9 @@ export const NavigationBar = () => {
|
||||
const [activePage, setActivePage] = useState(0)
|
||||
return (
|
||||
<BottomNavigation
|
||||
style={{
|
||||
background: '#262525'
|
||||
}}
|
||||
value={activePage}
|
||||
onChange={(event, newPage) => {
|
||||
setActivePage(newPage);
|
||||
@@ -35,9 +38,14 @@ export const NavigationBar = () => {
|
||||
/>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<AddCircleIcon />}
|
||||
icon={<FontAwesomeIcon icon={faMoneyCheck} />}
|
||||
to="/bank/account"
|
||||
/>
|
||||
<BottomNavigationAction
|
||||
component={Link}
|
||||
icon={<FontAwesomeIcon icon={faList} />}
|
||||
to="/bank/transactions"
|
||||
/>
|
||||
</BottomNavigation>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user