mirror of
https://github.com/zhigang1992/react-native-card-stack-swiper.git
synced 2026-01-12 22:50:14 +08:00
update doc for onSwipeStart and onSwipeEnd events
This commit is contained in:
@@ -50,6 +50,8 @@ import CardStack, { Card } from 'react-native-card-stack-swiper';
|
||||
## CardStack events
|
||||
| Props | type | description |
|
||||
| ----------------- | ------------- | --------------------------- |
|
||||
| onSwipeStart | func | function to be called when a card swipe starts |
|
||||
| onSwipeEnd | func | function to be called when a card swipe ends (card is released) |
|
||||
| onSwiped | func | function to be called when a card is swiped. it receives the swiped card index |
|
||||
| onSwipedLeft | func | function to be called when a card is swiped left. it receives the swiped card index |
|
||||
| onSwipedRight | func | function to be called when a card is swiped right. it receives the swiped card index |
|
||||
|
||||
Reference in New Issue
Block a user