swipe
swipe copied to clipboard
Add Option (swipeMaxDistance) to limit swiping distance
Add swipeMaxDistance and swipeFrictionEasing, swipeMaxDistance to limit distance, swipeFrictionEasing to control friction effect.
There is a problem that i have no idea how to deal with the side that has multiple actions, maybe set swipeMaxDistancePx to the totalWidth for visibleAction?
preview:
https://github.com/saket/swipe/assets/35896157/39c3a6d2-64dd-4afa-a4c8-d5463e4d4a3a