Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gragland/react-scroll-loader

🌀 Simple, efficient infinite scroll component for React
https://github.com/gragland/react-scroll-loader

component infinite loader react scroll

Last synced: about 5 hours ago
JSON representation

🌀 Simple, efficient infinite scroll component for React

Awesome Lists containing this project

README

        

# react-scroll-loader
Simple, efficient infinite scroll component for React

## Demo
unsplash.now.sh ([source](https://github.com/gragland/unsplash-demo))

## Install
`npm install react-scroll-loader --save`

## Props

Prop | Description
---------------------------|----------------
`atEnd` | Set to true if there's no more content to load
`loadingIcon` | Image url to override the default loading animation
`requestHandler` | Function to call when we've scrolled to the bottom of the page

## Example
```js

```