react-native-lyxa-refresh
v1.0.4
Published
Native Lyxa pull-to-refresh control for React Native
Readme
react-native-lyxa-refresh
Native Lyxa pull-to-refresh for React Native (New Architecture).
- Android: custom
SwipeRefreshLayoutwith Lx icon + zoom pulse - iOS: Fabric
UIRefreshControlwith Lx icon + zoom pulse
Install
yarn add react-native-lyxa-refresh
# or: npm install react-native-lyxa-refresh
cd ios && pod install && cd ..Rebuild the native app after install.
Usage
import {LyxaRefreshControl} from 'react-native-lyxa-refresh';
<FlashList
refreshControl={
<LyxaRefreshControl
refreshing={refreshing}
onRefresh={onRefresh}
progressViewOffset={headerHeight}
/>
}
/>Develop this package
Source lives at:
/Users/aliwork/Desktop/Projects/Lyxa/react-native-lyxa-refresh
After changes, bump version and publish:
cd /Users/aliwork/Desktop/Projects/Lyxa/react-native-lyxa-refresh
npm version patch
npm publish --access publicThen in the app:
cd /Users/aliwork/Desktop/Projects/Lyxa/lyxa-user
yarn up react-native-lyxa-refresh@latest