File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 10
10
"prop-types" : " ^15.5.10" ,
11
11
"react" : " ^16.0.0-alpha.6" ,
12
12
"react-native" : " 0.44.0" ,
13
- "react-native-deck-swiper" : " ^1.4.0 "
13
+ "react-native-deck-swiper" : " ^1.4.1 "
14
14
},
15
15
"devDependencies" : {
16
16
"babel-jest" : " 19.0.0" ,
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ npm install react-native-deck-swiper --save
49
49
| onSwipedTop | func | function to be called when a card is swiped top. it receives the swiped card index | | (cardIndex) => {} |
50
50
| onSwipedBottom | func | function to be called when a card is swiped bottom. it receives the swiped card index | | (cardIndex) => {} |
51
51
| onTapCard | func | function to be called when tapping a card. it receives the tapped card index | | (cardIndex) => {} |
52
+ | onTapCardDeadZone | number | maximum amount of movement before a tap is no longer recognized as a tap | 5 |
52
53
53
54
### Swipe animation props
54
55
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-deck-swiper" ,
3
- "version" : " 1.4.0 " ,
3
+ "version" : " 1.4.1 " ,
4
4
"description" : " Awesome tinder like card swiper for react-native. Highly Customizable!" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments