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