diff --git a/compiled/alipay/src/SwipeAction/props.ts b/compiled/alipay/src/SwipeAction/props.ts index d080f214a..ca48efcbc 100644 --- a/compiled/alipay/src/SwipeAction/props.ts +++ b/compiled/alipay/src/SwipeAction/props.ts @@ -72,4 +72,7 @@ export const SwipeActionDefaultProps: Partial = { defaultSwiped: '', damping: 70, disabled: false, + onSwipeEnd() {}, + onSwipeStart() {}, + onButtonTap() {}, }; diff --git a/compiled/wechat/src/SwipeAction/props.js b/compiled/wechat/src/SwipeAction/props.js index 4c4b04228..1b9bff07c 100644 --- a/compiled/wechat/src/SwipeAction/props.js +++ b/compiled/wechat/src/SwipeAction/props.js @@ -6,4 +6,7 @@ export var SwipeActionDefaultProps = { defaultSwiped: '', damping: 70, disabled: false, + onSwipeEnd: function () { }, + onSwipeStart: function () { }, + onButtonTap: function () { }, }; diff --git a/src/SwipeAction/props.ts b/src/SwipeAction/props.ts index d080f214a..ca48efcbc 100644 --- a/src/SwipeAction/props.ts +++ b/src/SwipeAction/props.ts @@ -72,4 +72,7 @@ export const SwipeActionDefaultProps: Partial = { defaultSwiped: '', damping: 70, disabled: false, + onSwipeEnd() {}, + onSwipeStart() {}, + onButtonTap() {}, };