UseInfiniteScrollOptions
UseInfiniteScrollOptions<
T> =UsePaginationOptions<T> &object
Defined in: packages/pagination/src/use-infinite-scroll.ts:12
Options for the useInfiniteScroll hook.
Extends UsePaginationOptions with IntersectionObserver configuration.
Type Declaration
Section titled “Type Declaration”rootMargin?
Section titled “rootMargin?”
optionalrootMargin:string
Margin around the root for the IntersectionObserver (e.g., "200px"). Defaults to "200px".
Type Parameters
Section titled “Type Parameters”T
The item type in the paginated list.