1 |
|
2 |
|
3 | import * as React from 'react';
|
4 | import CommonProps from '../util';
|
5 |
|
6 | export interface VirtualListProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
|
7 | |
8 |
|
9 |
|
10 | children?: any;
|
11 |
|
12 | |
13 |
|
14 |
|
15 | minSize?: number;
|
16 |
|
17 | |
18 |
|
19 |
|
20 | pageSize?: number;
|
21 |
|
22 | |
23 |
|
24 |
|
25 | itemsRenderer?: () => void;
|
26 |
|
27 | |
28 |
|
29 |
|
30 | threshold?: number;
|
31 |
|
32 | |
33 |
|
34 |
|
35 | itemSizeGetter?: () => void;
|
36 |
|
37 | |
38 |
|
39 |
|
40 | jumpIndex?: number;
|
41 | }
|
42 |
|
43 | export default class VirtualList extends React.Component<
|
44 | VirtualListProps,
|
45 | any
|
46 | > {}
|