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
{{ message }}
This repository was archived by the owner on Nov 5, 2023. It is now read-only.
|`tag`| The HTML tag used as container element. Default value is `div`|`string`| Any valid HTML tag |
36
+
|`probeTag`| The HTML tag used as probe element. Default value is `div`|`string`| Any valid HTML tag |
35
37
|`length`| The number of items in the list |`number`| Required, an integer greater than or equal to 0 |
36
38
|`pageProvider`| The callback that returns a page of items as a promise. `pageNumber` start with 0 |`(pageNumber: number, pageSize: number) => Promise<unknown[]>`| Required |
37
39
|`pageProviderDebounceTime`| Debounce window in milliseconds on the calls to `pageProvider`|`number`| Optional, an integer greater than or equal to 0 |
38
40
|`pageSize`| The number of items in a page from the item provider (e.g. a backend API) |`number`| Required, an integer greater than or equal to 1 |
39
41
|`scrollTo`| Scroll to a specific item by index |`number`| Optional, an integer from 0 to the `length` prop - 1 |
40
-
|`scrollBehavior`| The behavior of `scrollTo`. Default value is `smooth`|`smooth`|`auto`| Optional, a string to be `smooth` or `auto`|
42
+
|`scrollBehavior`| The behavior of `scrollTo`. Default value is `smooth`|`smooth`|`auto`| Optional, a string to be `smooth` or `auto`|
0 commit comments