PullToRefresh: increase pull resistance and threshold

This commit is contained in:
Alex Gleason 2021-12-02 14:11:40 -06:00
parent 0796dc359c
commit c57d50aa4e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ export default class PullToRefresh extends React.Component {
pullingContent={null}
// `undefined` will fallback to the default, while `null` will render nothing
refreshingContent={onRefresh ? undefined : null}
pullDownThreshold={130}
maxPullDownDistance={130}
resistance={2}
{...rest}
>
{children}