UNPKG

payloadcms_otp_plugin

Version:

A comprehensive One-Time Password (OTP) authentication plugin for Payload CMS that enables secure passwordless authentication via SMS and email

14 lines (13 loc) 348 B
import React from 'react'; import './otp-view.scss'; interface OTPInputProps { length?: number; disabled?: boolean; onComplete?: (otp: string) => void; onChange?: (otp: string) => void; className?: string; value?: string; onReset?: () => void; } declare const OTPInput: React.FC<OTPInputProps>; export default OTPInput;