0.1.1 • Published 8 months ago

@1ohooks/use-vertical-swipe-minimum v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago
  • minSwipe (number): The minimum swipe distance required to trigger a swipe action (default is 50 pixels).
  • onSwipeUp (function): A callback function to be executed when a swipe up gesture is detected.
  • onSwipeDown (function): A callback function to be executed when a swipe down gesture is detected.

Here's an example of how to use useVerticalSwipeMinimum in your component:

0.1.1

8 months ago

0.1.0

8 months ago