aboutsummaryrefslogtreecommitdiff
path: root/src/components/Highlight/Highlight.tsx
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-27 19:15:41 +0300
committereug-vs <eug-vs@keemail.me>2020-06-27 19:16:32 +0300
commit5b08023e0aa0e626264673ebb86dc82299a3b54b (patch)
tree2f7da24db42266bbe6a5c00d95e89b0a2ea18942 /src/components/Highlight/Highlight.tsx
parent3d4d7984ccc738f42c7ff287576e7e7e4b470672 (diff)
downloadwhich-ui-5b08023e0aa0e626264673ebb86dc82299a3b54b.tar.gz
style: fix ALL linting errors
Diffstat (limited to 'src/components/Highlight/Highlight.tsx')
-rw-r--r--src/components/Highlight/Highlight.tsx39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/components/Highlight/Highlight.tsx b/src/components/Highlight/Highlight.tsx
deleted file mode 100644
index 8e11c34..0000000
--- a/src/components/Highlight/Highlight.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import React, {useState} from 'react';
-import {makeStyles} from '@material-ui/core/styles';
-
-interface PropTypes {
- text: string;
- value: any;
-}
-
-const useStyles = makeStyles({
- root: {
- position: 'relative'
- },
- menuButton: {
- width: 200,
- height: 50,
- textAlign: 'center',
- },
- menuNumber: {
- fontWeight: 800,
- color: 'black'
- },
- menuText: {
- color: 'darkgray'
- },
-});
-
-
-const Highlight: React.FC<PropTypes> = ({text, value}) => {
- const classes = useStyles();
-
- return (
- <div className={classes.menuButton}>
- <div className={classes.menuNumber}>{value}</div>
- <div className={classes.menuText}>{text}</div>
- </div>
- );
-};
-
-export default Highlight;