We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
onHoldEnd
1 parent bd580d2 commit 70b5bbdCopy full SHA for 70b5bbd
apps/extension/src/components/hold-button/hold-button.tsx
@@ -78,6 +78,7 @@ export const HoldButton: FunctionComponent<HoldButtonProps> = ({
78
setProgress(0);
79
holdStartTimeRef.current = null;
80
81
+ onHoldEnd?.();
82
onConfirm?.();
83
84
if (type === "submit" && buttonRef.current?.form) {
@@ -90,6 +91,7 @@ export const HoldButton: FunctionComponent<HoldButtonProps> = ({
90
91
isLoading,
92
holdDurationMs,
93
onHoldStart,
94
+ onHoldEnd,
95
onProgressChange,
96
onConfirm,
97
type,
0 commit comments