mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
Feat(Contact:Header): Maybe we will use it
This commit is contained in:
1 parent
99ab7ad208
commit
95cd247893
1 file changed
+32
@@ -0,0 +1,32 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { makeStyles, createStyles, Theme } from "@material-ui/core/styles";
|
||||||
|
import Paper from "@material-ui/core/Paper";
|
||||||
|
import ContactsIcon from "@material-ui/icons/Contacts";
|
||||||
|
|
||||||
|
const useStyles = makeStyles((theme: Theme) =>
|
||||||
|
createStyles({
|
||||||
|
root: {
|
||||||
|
height: "60px",
|
||||||
|
width: "100%",
|
||||||
|
display: "flex",
|
||||||
|
flexFlow: "row nowrap",
|
||||||
|
justifyContent: "center",
|
||||||
|
alignItems: "center",
|
||||||
|
background: "#424242",
|
||||||
|
},
|
||||||
|
icon: {
|
||||||
|
color: "#fff",
|
||||||
|
fontSize: 30,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
export const ContactTitle = () => {
|
||||||
|
const classes = useStyles();
|
||||||
|
return (
|
||||||
|
<Paper className={classes.root} square variant="outlined" elevation={24}>
|
||||||
|
<ContactsIcon className={classes.icon} />
|
||||||
|
</Paper>
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in new issue
Block a user