ish-ui 1.0.0-alpha.13 → 1.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
itemCount: number;
|
|
5
|
-
width: number;
|
|
6
|
-
estimatedItemSize: number;
|
|
7
|
-
children: any;
|
|
2
|
+
import { VariableSizeListProps } from 'react-window';
|
|
3
|
+
interface Props extends VariableSizeListProps {
|
|
8
4
|
listRef?: any;
|
|
9
5
|
}
|
|
10
6
|
declare class DynamicSizeList extends React.Component<Props> {
|
|
@@ -16,8 +16,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
16
16
|
}
|
|
17
17
|
return t;
|
|
18
18
|
};
|
|
19
|
-
// Temporary implementation
|
|
20
|
-
// TODO: Remove component when native DynamicSizeList will be included in react-window v.2
|
|
21
19
|
import React from 'react';
|
|
22
20
|
import { VariableSizeList } from 'react-window';
|
|
23
21
|
class ItemMeasurer extends React.Component {
|