Skip to content

Commit fe91f23

Browse files
committed
onTapCardDeadZone
1 parent 97f6964 commit fe91f23

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: Exemples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prop-types": "^15.5.10",
1111
"react": "^16.0.0-alpha.6",
1212
"react-native": "0.44.0",
13-
"react-native-deck-swiper": "^1.4.0"
13+
"react-native-deck-swiper": "^1.4.1"
1414
},
1515
"devDependencies": {
1616
"babel-jest": "19.0.0",

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ npm install react-native-deck-swiper --save
4949
| onSwipedTop | func | function to be called when a card is swiped top. it receives the swiped card index | | (cardIndex) => {} |
5050
| onSwipedBottom | func | function to be called when a card is swiped bottom. it receives the swiped card index | | (cardIndex) => {} |
5151
| 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 |
5253

5354
### Swipe animation props
5455

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-deck-swiper",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Awesome tinder like card swiper for react-native. Highly Customizable!",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)