working typescript version

This commit is contained in:
erik-sn committed 2020-10-07 12:19:55 -04:00
1 parent 581d6011e0
commit cff746aa38
119 files changed
+247 -189

No files matched your search

File renamed without changes.
@@ -10,7 +10,7 @@ const useStyles = makeStyles((theme) => ({
"& > *": {
margin: theme.spacing(1),
},
padding: 0
padding: 0,
},
avatar: {
backgroundColor: ({ backgroundColor }) => backgroundColor,
@@ -18,11 +18,14 @@ const useStyles = makeStyles((theme) => ({
width: theme.spacing(7),
height: theme.spacing(7),
fontSize: theme.typography.h4.fontSize,
}
},
}));
export const AppIcon = ({ name, icon, backgroundColor, color }) => {
const classes = useStyles({ backgroundColor: backgroundColor || green[50], color: color || green[400] });
const classes = useStyles({
backgroundColor: backgroundColor || green[50],
color: color || green[400],
});
return (
<Button className={classes.root}>
<Avatar className={classes.avatar}>
File renamed without changes.
@@ -10,7 +10,7 @@ export const AppWrapper = ({ children, style, handleClickAway, ...props }) => {
width: "100%",
height: "100%",
display: "flex",
position: 'relative',
position: "relative",
flexDirection: "column",
...style,
}}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-1
View File
@@ -1 +0,0 @@
export * from './AppWrapper';
+1
View File
@@ -0,0 +1 @@
export * from "./AppWrapper";
File renamed without changes.
@@ -3,10 +3,10 @@ import { ContextMenu } from "../components/ContextMenu";
export const MapStringOptions = (current, onClick) => (string) => {
return {
selected: current === string,
selected: current === string,
label: string,
key: string,
onClick: () => onClick(string)
onClick: () => onClick(string),
};
};
File renamed without changes.
File renamed without changes.