Skip to content

a wrappered listview for react-native, enable pull-up to load more

Notifications You must be signed in to change notification settings

NanaMorse/react-native-pull-up-listview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-pull-up-listview

A listview for react-native, provide an ability of pulling up to load more list row.

Install

$ npm i --save react-native-pull-up-listview

PS: If you find something wrong with this repo, try to up to date within npm and test again. Else you can create an issue and I will figure it out as soon as possible, thx!

Props

  • loading bool (required)

    Whether the listView should show an active loadMore indicator.

  • onLoadMore function (required)

    Called when the listView starts loading more.

  • tintColor string (option, default = 'gray')

    The indicator color.

  • size number (option, default = 36)

    The indicator's size.

  • title string (option, default = 'load more...')

    The title displayed under the loadMore indicator.

  • titleColor string (option, default = 'black')

    The title's color.

Example

See the example folder.

About

a wrappered listview for react-native, enable pull-up to load more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published