react-native pull refresh on iOS, Android and Web
npm install react-native-mr-pullrefresh!NPM
!NPM
!MIT
!INSTALLED
!NODE
!STARS
``
/\/\ _ __ / _ \_ _| | | /__\ ___ / _|_ __ ___ ___| |__
/ \| '__| / /_)/ | | | | |/ \/// _ \ |_| '__/ _ \/ __| '_ \
/ /\/\ \ | _ / ___/| |_| | | / _ \ __/ _| | | __/\__ \ | | |
\/ \/_| (_) \/ \__,_|_|_\/ \_/\___|_| |_| \___||___/_| |_|
`
react-native pull refresh on iOS, Android and Web
| Library | |
| -------- | ----------- |
| react-native-gesture-handler | 2.x |
| react-native-reanimated | 3.x |
#### ⚠️ Warning
react-native-mr-pullrefresh Only support wrapper Animated.ScrollView and Animated.FlatList
not support nested MrPullRefresh!
It relies on react-native-gesture-handler and react-native-reanimated
so please install them before you use this package
`sh`
yarn install react-native-gesture-hanlder react-native-reanimated
`sh`
yarn install react-native-mr-pullrefresh
`js
import { MrPullRefresh } from 'react-native-mr-pullrefresh';
// ...
onPullupRefresh={upLoader}
pulldownHeight={80}
pullupHeight={100}
enablePullup
>
renderItem={() => null}
/>
{/ or/}
{/ children /}
``
|
|See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
---
Made with create-react-native-library