payloadcms_otp_plugin
Version:
A comprehensive One-Time Password (OTP) authentication plugin for Payload CMS that enables secure passwordless authentication via SMS and email
15 lines (14 loc) • 412 B
TypeScript
import React from 'react';
import './otp-view.scss';
interface TimerCountdownProps {
initialTimer?: number;
onExpired?: () => void;
onReset?: () => void;
className?: string;
expiredMessage?: string;
activeMessage?: string;
showResendButton?: boolean;
onResend?: () => Promise<boolean>;
}
declare const TimerCountdown: React.FC<TimerCountdownProps>;
export default TimerCountdown;