From 5b08023e0aa0e626264673ebb86dc82299a3b54b Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 27 Jun 2020 19:15:41 +0300 Subject: style: fix ALL linting errors --- src/components/Highlight/Highlight.tsx | 39 ---------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/components/Highlight/Highlight.tsx (limited to 'src/components/Highlight') 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 = ({text, value}) => { - const classes = useStyles(); - - return ( -
-
{value}
-
{text}
-
- ); -}; - -export default Highlight; -- cgit v1.2.3