Skip to content

๐ŸŒ€ Simple, efficient infinite scroll component for React

License

Notifications You must be signed in to change notification settings

gragland/react-scroll-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

react-scroll-loader

Simple, efficient infinite scroll component for React

Demo

unsplash.now.sh (source)

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

<Infinite requestHandler={this.getNextPage} atEnd={atEnd} />  

About

๐ŸŒ€ Simple, efficient infinite scroll component for React

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published