Skip to main content
Optional configuration for useResend.
Example
export interface UseResendOptions {
  timeoutSeconds?: number;
  onTimeout?: () => void;
}

Properties

timeoutSeconds
number
default:"10"
Countdown duration (in seconds) before another resend is allowed. Defaults to 10.
onTimeout
() => void
Callback fired when the countdown finishes and the resend action becomes available again.