aboutsummaryrefslogtreecommitdiff
path: root/src/components/SmartList/SmartList.js
diff options
context:
space:
mode:
authorEugene <eug-vs@keemail.me>2020-01-28 19:56:24 +0000
committerGitHub <noreply@github.com>2020-01-28 19:56:24 +0000
commit547a6101f3ec0d01680cd14bf74c9a8386b9a835 (patch)
tree2ffa01673377d33af49ea8dbc317cde6f2bf0a42 /src/components/SmartList/SmartList.js
parent4486c9f47ab4f9ba76ac09fab6bd8dd41e08cf7a (diff)
parent1ea6ae2f80e5e3f60ad89b4d6d02281c817cee43 (diff)
downloadchrono-cube-ui-547a6101f3ec0d01680cd14bf74c9a8386b9a835.tar.gz
Merge pull request #47 from Eug-VS/benzin
Migrate to BENZIN
Diffstat (limited to 'src/components/SmartList/SmartList.js')
-rw-r--r--src/components/SmartList/SmartList.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/components/SmartList/SmartList.js b/src/components/SmartList/SmartList.js
deleted file mode 100644
index b462c47..0000000
--- a/src/components/SmartList/SmartList.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from 'react';
-
-import { FixedSizeList } from 'react-window';
-import AutoSizer from 'react-virtualized-auto-sizer';
-
-
-const SmartList = ({ itemSize, itemCount, renderItem }) => {
-
- return (
- <div style={{ flex: '1 1 auto', overflow: 'hidden' }}>
- <AutoSizer>
- {({ width, height }) => (
- <FixedSizeList
- height={height}
- width={width}
- itemSize={itemSize}
- itemCount={itemCount}
- >
- {renderItem}
- </FixedSizeList>
- )}
- </AutoSizer>
- </div>
- );
-};
-
-
-export default SmartList;