mirror of
https://github.com/zhigang1992/react-native-card-stack-swiper.git
synced 2026-01-12 17:42:18 +08:00
added missing duration param
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user