UNPKG

@activecollab/components

Version:

ActiveCollab Components

24 lines 1 kB
import { ReactElement } from "react"; export interface BackupCodesDialogsProps { open: boolean; onClose: () => void; } /** * The full Backup Codes flow: the combined regenerate/password dialog, then the * one-time reveal dialog with its loading skeleton. Cancelling the first dialog * is a pure no-op — no codes are issued, no toast. */ export declare const BackupCodesDialogs: ({ open, onClose, }: BackupCodesDialogsProps) => ReactElement; export interface CreateLoginCodeDialogsProps { open: boolean; onClose: () => void; /** Target user's full name (drives the dialog copy). */ userName: string; } /** * Owner-minted login code flow (task #18): password gate first, then the * one-time reveal. The reveal has no footer — an X in the title closes it — * mirroring the app's Use Token dialog. */ export declare const CreateLoginCodeDialogs: ({ open, onClose, userName, }: CreateLoginCodeDialogsProps) => ReactElement; //# sourceMappingURL=TwoFactorDialogs.d.ts.map