import { assert } from "keycloakify/tools/assert"; import type { PageProps } from "keycloakify/login/pages/PageProps"; import type { KcContext } from "../KcContext"; import { useI18n } from "../i18n"; export default function Info(props: PageProps>) { const { kcContext, doUseDefaultCss, Template, classes } = props; const { msgStr, msg } = useI18n({ kcContext }); assert( kcContext.message !== undefined, "No message in kcContext.message, there will always be a message in production context, add it in your mock" ); const { messageHeader, message, requiredActions, skipLink, pageRedirectUri, actionUri, client } = kcContext; return ( ); }