Commit 76e64c73 authored by Carlos's avatar Carlos

[SKIP CI] update README.md

parent 7926f306
...@@ -28,6 +28,7 @@ or ...@@ -28,6 +28,7 @@ or
|refreshContent|JSX.Element|true| |refreshContent|JSX.Element|true|
|pullDownThreshold|number|true| |pullDownThreshold|number|true|
|onRefresh|Promise|true| |onRefresh|Promise|true|
|backgroundColor|string|false|
## Usage ## Usage
...@@ -50,8 +51,9 @@ import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to- ...@@ -50,8 +51,9 @@ import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to-
refreshContent={<RefreshContent />} refreshContent={<RefreshContent />}
pullDownThreshold={200} pullDownThreshold={200}
onRefresh={this.onRefresh} onRefresh={this.onRefresh}
backgroundColor='white'
> >
<div style={{height: "150vh", textAlign: "center"}}> <div style={{height: '150vh', textAlign: 'center'}}>
<div>PullToRefresh</div> <div>PullToRefresh</div>
</div> </div>
</PullToRefresh> </PullToRefresh>
......
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