@@ -51,15 +51,16 @@ import List from 'rc-virtual-list';
51
51
52
52
## List
53
53
54
- | Prop | Description | Type | Default |
55
- | ---------- | ------------------------------------------------------- | ------------------------------------ | ------- |
56
- | children | Render props of item | (item, index, props) => ReactElement | - |
57
- | component | Customize List dom element | string \| Component | div |
58
- | data | Data list | Array | - |
59
- | disabled | Disable scroll check. Usually used on animation control | boolean | false |
60
- | height | List height | number | - |
61
- | itemHeight | Item minium height | number | - |
62
- | itemKey | Match key with item | string | - |
54
+ | Prop | Description | Type | Default |
55
+ | ---------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
56
+ | children | Render props of item | (item, index, props) => ReactElement | - |
57
+ | component | Customize List dom element | string \| Component | div |
58
+ | data | Data list | Array | - |
59
+ | disabled | Disable scroll check. Usually used on animation control | boolean | false |
60
+ | height | List height | number | - |
61
+ | itemHeight | Item minium height | number | - |
62
+ | itemKey | Match key with item | string | - |
63
+ | styles | style | { horizontalScrollBar?: React.CSSProperties; horizontalScrollBarThumb?: React.CSSProperties; verticalScrollBar?: React.CSSProperties; verticalScrollBarThumb?: React.CSSProperties; } | - |
63
64
64
65
` children ` provides additional ` props ` argument to support IE 11 scroll shaking.
65
66
It will set ` style ` to ` visibility: hidden ` when measuring. You can ignore this if no requirement on IE.
0 commit comments