mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript compiling and fixing linting issues
This commit is contained in:
1 parent
b1babd88c2
commit
3273d192c9
49 files changed
+271
-110
No files matched your search
@@ -4,22 +4,29 @@ import Avatar from "@material-ui/core/Avatar";
|
||||
import { green } from "@material-ui/core/colors";
|
||||
import { Button } from "@material-ui/core";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
display: "flex",
|
||||
"& > *": {
|
||||
margin: theme.spacing(1),
|
||||
interface IStyles {
|
||||
root: any;
|
||||
avatar: any;
|
||||
}
|
||||
|
||||
const useStyles = makeStyles(
|
||||
(theme): IStyles => ({
|
||||
root: {
|
||||
display: "flex",
|
||||
"& > *": {
|
||||
margin: theme.spacing(1),
|
||||
},
|
||||
padding: 0,
|
||||
},
|
||||
padding: 0,
|
||||
},
|
||||
avatar: {
|
||||
backgroundColor: ({ backgroundColor }) => backgroundColor,
|
||||
color: ({ color }) => color,
|
||||
width: theme.spacing(7),
|
||||
height: theme.spacing(7),
|
||||
fontSize: theme.typography.h4.fontSize,
|
||||
},
|
||||
}));
|
||||
avatar: {
|
||||
backgroundColor: ({ backgroundColor }) => backgroundColor,
|
||||
color: ({ color }) => color,
|
||||
width: theme.spacing(7),
|
||||
height: theme.spacing(7),
|
||||
fontSize: theme.typography.h4.fontSize,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
export const AppIcon = ({ name, icon, backgroundColor, color }) => {
|
||||
const classes = useStyles({
|
||||
|
||||
Reference in new issue
Block a user