{"repo":"esthor/react-native-swipeable-list","free":true,"listed":false,"github":"https://github.com/esthor/react-native-swipeable-list","clone":"git clone https://github.com/esthor/react-native-swipeable-list.git","description":"A zero-dependency Swipeable FlatList for React-Native, with Gestures, Quick Actions, and Animations. Simple as that.","language":"JavaScript","stars":756,"topics":["react","react-native","android","component","ios","react-native-component","react-native-flatlist","react-native-web"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-swipeable-list A zero-dependency, Swipeable FlatList for React-Native with Quick Actions, Gestures, and Animations. Usage 1. Install the package in your project: npm install react-native-swipeable-list or yarn add react-native-swipeable-list 2. Import the component into your component: import SwipeableFlatList from 'react-native-swipeable-list'; 3. Pass it a data array. It inherits FlatListProps from the standard FlatList component from react-native. It can be passed additional props: - shouldBounceOnMount (default = true ) - To alert the user that swiping is possible, the first row can bounce on component mount. Type boolean - maxSwipeDistance - Maximum distance to open to after a swipe. Type number (Object = number) - renderQuickActions - Callback method to render the view that will be unveiled on swipe. Type renderItemType (which provides index and item , which will be very useful for performing actions on your items) Example Check out the example in the /examples folder. Clone this repo, then cd examples && yarn install && yarn start and then either react-native run-ios or react-native run-android to get the app up and running locally. Play with the code and see what you can do! 😎 History & Shoutouts Started from the SwipeableFlatList component that was removed from react-native's experimental libraries. (See: )","default_branch":null,"files":null,"tree":[],"storefront":"/r/esthor","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/esthor/react-native-swipeable-list/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}