Skip to content

Commit

Permalink
Readme improvements (#24)
Browse files Browse the repository at this point in the history
* When stackSize=1, and using swipeBackCard, the card animation is overlap together when swipe back
  • Loading branch information
webraptor authored Sep 20, 2020
1 parent a8d5d0d commit d678ca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ With respect to bugfixes and further developments, please check the [To Do](http
| horizontalSwipe | bool | enable/disable horizontal swiping | | true |
| verticalSwipe | bool | enable/disable vertical swiping | | true |
| showSecondCard | bool | enable/disable second card while swiping | | true |
| stackSize | number | number of underlaying cards to show (showSecondCard must be enabled) | | 0 |
| stackSize | number | number of underlaying cards to show (showSecondCard must be enabled) | | 1 |

### Event callbacks

Expand Down Expand Up @@ -270,7 +270,7 @@ Make sure you set showSecondCard={false} for smoother and proper transitions whi

| Name | type | description |
| :------------------- | :----- | :------------------------------------------------- |
| swipeBack | callback | swipe back into deck last swiped card |
| swipeBack | callback | swipe back into deck last swiped card. stacksize should be 2 cards or more |

## 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": "2.0.4",
"version": "2.0.5",
"description": "Awesome tinder like card swiper for react-native. Highly Customizable!",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit d678ca5

Please sign in to comment.