Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gragland/react-scroll-loader
- Owner: gragland
- License: mit
- Created: 2017-03-09T22:22:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T01:46:44.000Z (over 7 years ago)
- Last Synced: 2024-10-03T03:43:34.614Z (about 2 months ago)
- Topics: component, infinite, loader, react, scroll
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```