mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript version
This commit is contained in:
1 parent
581d6011e0
commit
cff746aa38
119 files changed
+247
-189
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
import Paper from "@material-ui/core/Paper";
|
||||
import { makeStyles } from "@material-ui/core";
|
||||
import TwitterIcon from "@material-ui/icons/Twitter";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
height: "60px",
|
||||
width: "100%",
|
||||
display: "flex",
|
||||
flexFlow: "row nowrap",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
background: "#424242",
|
||||
},
|
||||
icon: {
|
||||
color: "#00acee",
|
||||
fontSize: 30,
|
||||
},
|
||||
}));
|
||||
|
||||
export function TwitterTitle() {
|
||||
const classes = useStyles();
|
||||
return (
|
||||
<Paper elevation={24} variant="outlined" square className={classes.root}>
|
||||
<TwitterIcon className={classes.icon} />
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default TwitterTitle;
|
||||
Reference in new issue
Block a user