Skip Navigation

Infinite Scroll

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

Installation

Run the following command

pnpm dlx @shadext/cli add infinite-scroll

API Reference

Props

The DatetimePicker component accepts the following props:

isLoadingboolean
hasMore
boolean
next
() => unknown
threshold
number
1
root
Element | null
null
rootMargin
string
0px
reverse
boolean
false
children
ReactNode
undefined