Socket
Socket
Sign inDemoInstall

@death14stroke/react-native-paged-list

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @death14stroke/react-native-paged-list

React Native component for showing list with infinite data using pagination on scroll


Version published
Weekly downloads
9
decreased by-25%
Maintainers
1
Install size
27.1 kB
Created
Weekly downloads
 

Readme

Source

npm downloads

react-native-paged-list

React Native component to load paged data in list by scrolling infinitely.

Installation

npm

npm install @death14stroke/react-native-paged-list

yarn

yarn add @death14stroke/react-native-paged-list

Usage

import { PagedList } from "@death14stroke/react-native-paged-list";
...
<PagedList
    firstPage={0}
    loadData={async page => {
        const hasMoreData = getMoreData(page);
        return hasMoreData;
    }}
    data={data}
    renderItem={renderItem}
    keyExtractor={keyExtractor}
/>
...
}

Demo

License

MIT

Keywords

FAQs

Last updated on 19 Apr 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc