Infinite Scroll

Simple infinite scroll component. You have fully control over the loading spinner and IntersectionObserver API.

Properties

PropertyTypeDefault
*isLoading
boolean
*hasMore
boolean
*next
() => unknown
threshold
number
1
root
number
null
rootMargin
string
0px
reverse
boolean
false
children
ReactNode
undefined