PullToRefresh: increase pull resistance and threshold

strip-front-mentions
Alex Gleason 2021-12-02 14:11:40 -06:00
rodzic 0796dc359c
commit c57d50aa4e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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}