added missing duration param

This commit is contained in:
Yonah Forst
2018-03-31 10:49:16 +02:00
committed by GitHub
parent 985e76c7e8
commit 84391b8f3f

View File

@@ -247,11 +247,11 @@ export default class CardStack extends Component {
swipeTop(){
swipeTop(duration){
this._nextCard('top', 0, -height, duration);
}
swipeBottom(){
swipeBottom(duration){
this._nextCard('bottom', 0, height, duration);
}