Beta
Search
CTRLK

LoadMore

The Filenest.LoadMore is used to load more files using infinite loading.

The component will render null if there are no more files to load.

The component must be used as a child of <Filenest.Root>

Example Usage

<Filenest.LoadMore
  children={({ loadMore, isLoading }) => (
    <button
      disabled={isLoading}
      onClick={loadMore}
    >
      Load More
    </button>
  )}
/>

Render Props

PropTypeDefault
loadMore
() => void
-
isLoading
boolean
-

On this page