Hiyve Components - v1.0.0
    Preparing search index...

    Interface TfaVerificationProps

    Props for the TfaVerification component.

    interface TfaVerificationProps {
        colors?: Partial<TfaVerificationColors>;
        icons?: Partial<TfaVerificationIcons>;
        labels?: Partial<TfaVerificationLabels>;
        onBack?: () => void;
        onError?: (error: Error) => void;
        onSuccess?: (user: AuthUser) => void;
        resendCooldown?: number;
        styles?: Partial<TfaVerificationStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<TfaVerificationColors>

    Override default color values

    icons?: Partial<TfaVerificationIcons>

    Override default icons

    labels?: Partial<TfaVerificationLabels>

    Override default text strings

    onBack?: () => void

    Called when the user clicks "Back to login"

    onError?: (error: Error) => void

    Called when a verification attempt fails

    onSuccess?: (user: AuthUser) => void

    Called when TFA verification completes and the user is authenticated

    resendCooldown?: number

    Seconds before the resend button becomes active (default: 60)

    styles?: Partial<TfaVerificationStyles>

    Override default dimensions and spacing

    sx?: SxProps<Theme>

    MUI sx prop applied to the root container