You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,10 @@ To see how it works you can check the [AsyncDataIdle](./__stories__/AsyncDataIdl
195
195
196
196
This option works in tandem with the `placeholder` option. With it, you can set the task timeout for the `requestIdleCallback`. The `buildingTaskTimeout` will be sent directly as the `requestIdleCallback`'s `timeout` option.
197
197
198
+
##### `listRef: Ref<FixedSizeList>`
199
+
200
+
This option allows you to get the instance of the internal `react-window` list. It is usually unnecessary because all necessary methods are already provided but still can be useful for edge cases.
201
+
198
202
##### `rowComponent: component`
199
203
200
204
This property receives a custom `Row` component for the `FixedSizeList` that will override the default one. It can be used for adding new functionality.
@@ -406,6 +410,10 @@ Since `VariableSizeList` in general inherits properties from the `FixedSizeList`
406
410
407
411
The `Node` component. It is the same as the [`FixedSizeTree`](#fixedsizetree)'s one but receives properties from the [`VariableSizeNodePublicState`](#types-1) object.
408
412
413
+
##### `listRef: Ref<VariableSizeList>`
414
+
415
+
Same as [`listRef`](#listref-reffixedsizelist) of `FixedSizeTree`.
416
+
409
417
##### `rowComponent: component`
410
418
411
419
See [`rowComponent`](#rowcomponent-component) in the `FixedSizeTree` section; the `getRecordData` returns the [`VirtualSizeNodePublicState`](#types-1) object.
0 commit comments