Commit 9acabfbe authored by matthew.mogford's avatar matthew.mogford

Added readme info for new optional variable

parent a9a93ed6
...@@ -31,6 +31,7 @@ or ...@@ -31,6 +31,7 @@ or
|onRefresh|Promise|true| |onRefresh|Promise|true|
|triggerHeight|number|false| |triggerHeight|number|false|
|backgroundColor|string|false| |backgroundColor|string|false|
|startInvisible|boolean|false|
## Usage ## Usage
...@@ -55,6 +56,7 @@ import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to- ...@@ -55,6 +56,7 @@ import {PullDownContent, ReleaseContent, RefreshContent} from "react-js-pull-to-
onRefresh={this.onRefresh} onRefresh={this.onRefresh}
triggerHeight={50} triggerHeight={50}
backgroundColor='white' backgroundColor='white'
startInvisible={true}
> >
<div style={{height: '150vh', textAlign: 'center'}}> <div style={{height: '150vh', textAlign: 'center'}}>
<div>PullToRefresh</div> <div>PullToRefresh</div>
......
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