UNPKG

keycloakify

Version:

Framework to create custom Keycloak UIs

11 lines (7 loc) 351 B
/* 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 };