UNPKG

vfi-2fa

Version:

- Headless (100% customizable, Bring-your-own-UI) - Auto out of the box, fully controllable API - Sorting (Multi and Stable) - Filters - Row Selection - Row Expansion - Column Ordering - Animatable - Resizable - Server-side/controlled data/state

15 lines (14 loc) 439 B
import React from "react"; import { IRequired2FAModel } from "../type"; interface OTPHandlerProps { isOpen: boolean; onSubmit: (otp: string, secret?: string, type?: string) => void; onClose: () => void; notificationError?: (message?: string) => void; otpData?: IRequired2FAModel; sendEndpoint: string; email?: string; phone?: string; } export declare const OTPHandler: React.FC<OTPHandlerProps>; export {};