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

8 lines (7 loc) 288 B
import { IRequired2FAModel } from "../type"; export declare const useOtpListener: () => { isOtpModalVisible: boolean; handleOtpSubmit: (otp: string, secret?: string, type?: string) => Promise<void>; handleCloseModal: () => void; otpData: IRequired2FAModel | undefined; };