Open Smigi33 opened 3 weeks ago
Hey, can You add prop in this functions onSwipeStart?: () => void; onSwipeEnd?: () => void; onSwipeActive?: () => void; which side gesture is going? Something like this? onSwipeStart?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeEnd?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeActive?: (cardIndex, 'left' | 'right' | 'top', percentage) => void;
onSwipeStart?: () => void; onSwipeEnd?: () => void; onSwipeActive?: () => void;
onSwipeStart?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeEnd?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeActive?: (cardIndex, 'left' | 'right' | 'top', percentage) => void;
Swipe percentage would be cool too, swiping card by half to side and callback func receive 50% etc. :D
Hey, can You add prop in this functions
onSwipeStart?: () => void; onSwipeEnd?: () => void; onSwipeActive?: () => void;
which side gesture is going? Something like this?onSwipeStart?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeEnd?: (cardIndex, 'left' | 'right' | 'top', percentage) => void; onSwipeActive?: (cardIndex, 'left' | 'right' | 'top', percentage) => void;
Swipe percentage would be cool too, swiping card by half to side and callback func receive 50% etc. :D