import { clsx } from "keycloakify/tools/clsx"; import { getKcClsx } from "keycloakify/account/lib/kcClsx"; import type { PageProps } from "keycloakify/account/pages/PageProps"; import type { KcContext } from "../KcContext"; import type { I18n } from "../i18n"; export default function Totp(props: PageProps, I18n>) { const { kcContext, i18n, doUseDefaultCss, Template, classes } = props; const { kcClsx } = getKcClsx({ doUseDefaultCss, classes }); const { totp, mode, url, messagesPerField, stateChecker } = kcContext; const { msg, msgStr, advancedMsg } = i18n; return ( ); }