Skip to content

Commit

Permalink
onTapCardDeadZone
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrillant committed Oct 5, 2017
1 parent bff2179 commit 0203972
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Exemples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prop-types": "^15.5.10",
"react": "^16.0.0-alpha.6",
"react-native": "0.44.0",
"react-native-deck-swiper": "^1.4.0"
"react-native-deck-swiper": "^1.4.1"
},
"devDependencies": {
"babel-jest": "19.0.0",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ npm install react-native-deck-swiper --save
| onSwipedTop | func | function to be called when a card is swiped top. it receives the swiped card index | | (cardIndex) => {} |
| onSwipedBottom | func | function to be called when a card is swiped bottom. it receives the swiped card index | | (cardIndex) => {} |
| onTapCard | func | function to be called when tapping a card. it receives the tapped card index | | (cardIndex) => {} |
| onTapCardDeadZone | number | maximum amount of movement before a tap is no longer recognized as a tap | 5 |

### Swipe animation props

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-deck-swiper",
"version": "1.4.0",
"version": "1.4.1",
"description": "Awesome tinder like card swiper for react-native. Highly Customizable!",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0203972

Please sign in to comment.