Skip to content

xiaoTuiMao/react-infiniteScroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react 无限滚动组件

Installation

npm i react-infiniteScroll
# or
yarn add react-infiniteScroll

Examples

<InfiniteScroll
  onLoadMore={(endLoading) => {
    this.ajax().then(data => {
      // do something
      endLoading();
    })
  }}
  hasMore={true}
>
      <div>1</div>
</InfiniteScroll>

About

react 无限滚动组件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published