mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
32 lines
917 B
JavaScript
32 lines
917 B
JavaScript
import React from "react";
|
|
import { makeStyles } from "@material-ui/core/styles";
|
|
import BottomNavigation from "@material-ui/core/BottomNavigation";
|
|
import BottomNavigationAction from "@material-ui/core/BottomNavigationAction";
|
|
import HomeIcon from "@material-ui/icons/Home";
|
|
import SearchIcon from "@material-ui/icons/Search";
|
|
import ProfileIcon from "@material-ui/icons/Person";
|
|
|
|
const useStyles = makeStyles({
|
|
root: {
|
|
width: "100%",
|
|
},
|
|
});
|
|
|
|
export function TwitterBottomNavigation({ activePage, handleChange }) {
|
|
const classes = useStyles();
|
|
|
|
return (
|
|
<BottomNavigation
|
|
value={activePage}
|
|
onChange={handleChange}
|
|
className={classes.root}
|
|
>
|
|
<BottomNavigationAction icon={<HomeIcon />} />
|
|
<BottomNavigationAction icon={<SearchIcon />} />
|
|
<BottomNavigationAction icon={<ProfileIcon />} />
|
|
</BottomNavigation>
|
|
);
|
|
}
|
|
|
|
export default TwitterBottomNavigation;
|