UNPKG

@edflex-tech/keycloakify

Version:

Keycloak theme generator for Reacts app

15 lines (14 loc) 612 B
/// <reference types="react" /> import type { KcProps } from "./KcProps"; import type { KcContextBase } from "../getKcContext/KcContextBase"; import type { KcLanguageTag } from "../i18n"; /** Allow to avoid bundling the terms and download it on demand*/ export declare function useDownloadTerms(params: { kcContext: KcContextBase; downloadTermMarkdown: (params: { currentKcLanguageTag: KcLanguageTag; }) => Promise<string>; }): void; export declare const Terms: import("react").MemoExoticComponent<({ kcContext, ...props }: { kcContext: KcContextBase.Terms; } & KcProps) => JSX.Element>;