11 lines
349 B
TypeScript
11 lines
349 B
TypeScript
import { i18nBuilder } from "keycloakify/account";
|
|
import type { ThemeName } from "../kc.gen";
|
|
|
|
/** @see: https://docs.keycloakify.dev/i18n */
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
const { useI18n, ofTypeI18n } = i18nBuilder.withThemeName<ThemeName>().build();
|
|
|
|
type I18n = typeof ofTypeI18n;
|
|
|
|
export { useI18n, type I18n };
|