A React Native ListView component with rows that swipe open and closed
The npm package react-native-swipe-list-view
provides a vertical ListView with rows that can be swiped open and closed. It offers features like handling default native behaviors, using SwipeRow
for swipeable rows outside of SwipeListView
, and is now compatible with RN 0.60+ by using version 2.0.0 and migrating to FlatList.
SwipeListView
.To install the react-native-swipe-list-view
, follow these steps:
git clone https://github.com/jemise111/react-native-swipe-list-view.git
cd react-native-swipe-list-view/SwipeListExample
yarn && cd ios && pod install && cd ..
react-native run-ios
or react-native run-android
The react-native-swipe-list-view
npm package provides a convenient solution for implementing swipeable rows in a vertical ListView. With its support for React Native 0.60+ and the use of FlatList, it offers a modern approach to handling swipe interactions in mobile applications.