2023-03-20 05:14:25 +01:00
|
|
|
import type { LazyExoticComponent } from "react";
|
|
|
|
import type { I18n } from "keycloakify/account/i18n";
|
2023-03-21 05:27:31 +01:00
|
|
|
import type { TemplateProps, ClassKey } from "keycloakify/account/TemplateProps";
|
2023-03-20 05:14:25 +01:00
|
|
|
|
|
|
|
export type PageProps<KcContext, I18nExtended extends I18n> = {
|
|
|
|
Template: LazyExoticComponent<(props: TemplateProps<any, any>) => JSX.Element | null>;
|
|
|
|
kcContext: KcContext;
|
|
|
|
i18n: I18nExtended;
|
|
|
|
doUseDefaultCss: boolean;
|
|
|
|
classes?: Partial<Record<ClassKey, string>>;
|
|
|
|
};
|