keycloak_theme/src/login/pages/PageProps.ts

12 lines
475 B
TypeScript
Raw Normal View History

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