2023-03-20 05:14:25 +01:00
|
|
|
import type { ReactNode } from "react";
|
2024-09-30 00:31:27 +02:00
|
|
|
import type { ClassKey } from "keycloakify/account/lib/kcClsx";
|
2023-03-20 05:14:25 +01:00
|
|
|
|
2024-06-09 11:20:45 +02:00
|
|
|
export type TemplateProps<KcContext, I18n> = {
|
2023-03-20 05:14:25 +01:00
|
|
|
kcContext: KcContext;
|
2024-06-09 11:20:45 +02:00
|
|
|
i18n: I18n;
|
2023-03-20 05:14:25 +01:00
|
|
|
doUseDefaultCss: boolean;
|
2023-03-21 05:27:31 +01:00
|
|
|
classes?: Partial<Record<ClassKey, string>>;
|
2023-03-20 05:14:25 +01:00
|
|
|
children: ReactNode;
|
2024-06-09 11:20:45 +02:00
|
|
|
|
|
|
|
active: string;
|
2023-03-20 05:14:25 +01:00
|
|
|
};
|
2023-03-21 05:27:31 +01:00
|
|
|
|
2024-09-30 00:31:27 +02:00
|
|
|
export type { ClassKey };
|