An open API service indexing awesome lists of open source software.

https://github.com/darmody/react-native-refresh-control-view

customize react native refresh control
https://github.com/darmody/react-native-refresh-control-view

pull-to-refresh react-native refresh-control

Last synced: about 1 year ago
JSON representation

customize react native refresh control

Awesome Lists containing this project

README

          

# React Native Refresh Control View

![npm version](https://img.shields.io/npm/v/react-native-customizable-refresh-control-view.svg?style=flat-square)

Let you have ability to customize refresh control.

**NOT READY YET**

![DEMO](./example/demo.gif)

## Install

```bash
# peer dependency
yarn add react-native-gesture-handler
yarn add react-native-customizable-refresh-control-view
```

## Usage

```jsx
import React from 'react';
import { Text } from 'react-native';
import { ScrollView } from 'react-native-customizable-refresh-control-view';

class RefreshControl extends React.Component {
render() {
return Refreshing...;
}
}

class ReactComponent extends React.Component {
handlePullRefresh = () => {
// refreshing, you can return promise here.
};

render() {
return (

...content

);
}
}
```