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: 2 months 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 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T01:46:44.000Z (over 8 years ago)
- Last Synced: 2025-04-15T01:06:05.720Z (3 months ago)
- Topics: component, infinite, loader, react, scroll
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 5
- Watchers: 0
- 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
```