0.1.0 • Published 6 years ago
react-infinite-scrolling v0.1.0
react-infinite-scrolling
First import the component:
import InfiniteScrolling from 'react-infinite-scrolling';
and then use it to wrap anything you need:
<InfiniteScrolling handleBottomReach={fetchMorePosts}>
<YourComponent />
</InfiniteScrolling>
0.1.0
6 years ago