Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-native-swipeable-list
Advanced tools
A Swipeable FlatList for React-Native with Quick Actions & Animations
A Swipeable FlatList for React-Native with Quick Actions & Animations
npm install react-native-swipeable-list
or
yarn add react-native-swipeable-list
import SwipeableFlatList from 'react-native-swipeable-list';
FlatList
component from react-native.It can be passed other 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)
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.
Started from the SwipeableFlatList
component that was removed from react-native's experimental libraries. (See: https://github.com/facebook/react-native/commit/9ca7989f60cc8137705effeaad0f128fa73ed2e4)
FAQs
A Swipeable FlatList for React-Native with Quick Actions & Animations
We found that react-native-swipeable-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.