Commit a0e6b29b authored by 李勇諭's avatar 李勇諭

initial read me

parent 1856e05c
# react-js-pull-to-refresh
Pull to refresh on web
[![npm version](https://badge.fury.io/js/react-js-pull-to-refresh.svg)](https://badge.fury.io/js/react-js-pull-to-refresh)
[![license](https://img.shields.io/github/license/echoulen/react-js-pull-to-refresh.svg)](https://opensource.org/licenses/MIT)
![](https://media.giphy.com/media/xT1R9QXh120aPohDGw/giphy.gif)
## installation
`npm install react-js-pull-to-refresh --save`
or
`yarn add react-js-pull-to-refresh`
## Props
- pullDownContent: JSX.Element (Required)
- releaseContent: JSX.Element (Required)
- refreshContent: JSX.Element (Required)
- pullDownThreshold: number (Required)
- onRefresh: () => Promise<any> (Required)
## Usage
See examples folder
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment