Optional
loadOptional
observerOptions for the IntersectionObserver.
This can be used to adjust the root margin, threshold, etc.
For example, to trigger the observer when the user scrolls to the bottom of the page, you can set rootMargin: "100% 0"
.
Optional
page
Infinite scroll component props
Param: children
The children to render
Param: loadMoreComponent
The component to render when more results are available
Param: pageSize
The page size to use when loading more results