diff options
author | Eugene <eug-vs@keemail.me> | 2020-01-12 15:11:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-12 15:11:05 +0000 |
commit | d131fe1c40da4faf8fe850994d000263f867c9d6 (patch) | |
tree | c4b8fb31a112ef3fe38b6f02a17d75d722ae3dea /src/components/SmartList/SmartList.js | |
parent | 23a5631531861ac76d532c0d9d2b19dd1862f739 (diff) | |
parent | 364c16c467b5257980337a06497647ebc13e4c35 (diff) | |
download | chrono-cube-ui-d131fe1c40da4faf8fe850994d000263f867c9d6.tar.gz |
Merge pull request #33 from Eug-VS/contribute
Contribute section support
Diffstat (limited to 'src/components/SmartList/SmartList.js')
-rw-r--r-- | src/components/SmartList/SmartList.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/components/SmartList/SmartList.js b/src/components/SmartList/SmartList.js index 975cbbd..68235a2 100644 --- a/src/components/SmartList/SmartList.js +++ b/src/components/SmartList/SmartList.js @@ -3,18 +3,8 @@ import React from 'react'; import { FixedSizeList } from 'react-window'; import AutoSizer from 'react-virtualized-auto-sizer'; -import { makeStyles } from '@material-ui/core'; - - -const useStyles = makeStyles(theme => ({ - root: { - scrollbarColor: `${theme.palette.primary.dark} ${theme.palette.primary.light}`, - } -})); - const SmartList = ({ itemSize, itemCount, renderItem }) => { - const classes = useStyles(); return ( <div style={{ flex: '1 1 auto'}}> @@ -25,7 +15,6 @@ const SmartList = ({ itemSize, itemCount, renderItem }) => { width={width} itemSize={itemSize} itemCount={itemCount} - className={classes.root} > {renderItem} </FixedSizeList> |