mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working profile and editing of profile
This commit is contained in:
1 parent
5072a31aab
commit
9fe4cf0188
27 files changed
+459
-51
No files matched your search
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
Reference in new issue
Block a user