React pull to refresh
npm install @ephys/react-js-pull-to-refreshPull to refresh with react
> Support all mobile(iOS, Android) and Desktop browser (Chrome, Safari, firefox, Opera, QQ, UC, ... etc)





npm install react-js-pull-to-refresh --saveor
yarn add react-js-pull-to-refresh
#### import PullToRefresh
``js`
import {PullToRefresh} from "react-js-pull-to-refresh";
#### import default content (optional)
`typescript`
import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to-refresh";
#### Sample
`jsx`
releaseContent={
refreshContent={
pullDownThreshold={200}
onRefresh={this.onRefresh}
triggerHeight={50}
backgroundColor='white'
>
PullToRefresh