Skip to content

Commit

Permalink
fix: onSwipeStart is not undefined (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie authored Sep 13, 2024
1 parent 1f2a15a commit d212287
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiled/alipay/src/SwipeAction/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ export const SwipeActionDefaultProps: Partial<ISwipeActionProps> = {
defaultSwiped: '',
damping: 70,
disabled: false,
onSwipeEnd() {},
onSwipeStart() {},
onButtonTap() {},
};
3 changes: 3 additions & 0 deletions compiled/wechat/src/SwipeAction/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ export var SwipeActionDefaultProps = {
defaultSwiped: '',
damping: 70,
disabled: false,
onSwipeEnd: function () { },
onSwipeStart: function () { },
onButtonTap: function () { },
};
3 changes: 3 additions & 0 deletions src/SwipeAction/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,7 @@ export const SwipeActionDefaultProps: Partial<ISwipeActionProps> = {
defaultSwiped: '',
damping: 70,
disabled: false,
onSwipeEnd() {},
onSwipeStart() {},
onButtonTap() {},
};

0 comments on commit d212287

Please sign in to comment.