12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { i18nBuilder } from "keycloakify/login";
|
|
import type { ThemeName } from "../kc.gen";
|
|
|
|
/** @see: https://docs.keycloakify.dev/i18n */
|
|
const { useI18n, ofTypeI18n } = i18nBuilder
|
|
.withThemeName<ThemeName>()
|
|
.build();
|
|
|
|
type I18n = typeof ofTypeI18n;
|
|
|
|
export { useI18n, type I18n };
|