Apply same strategy for UserProfileFormField than for TempateProps for extendability

This commit is contained in:
Joseph Garrone
2024-06-11 21:21:58 +02:00
parent 5b64cfc23c
commit e1633f43f4
6 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ import type { KcContext } from "../KcContext";
import type { I18n } from "../i18n";
type LoginUpdateProfileProps = PageProps<Extract<KcContext, { pageId: "login-update-profile.ftl" }>, I18n> & {
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps<KcContext, I18n>) => JSX.Element>;
UserProfileFormFields: LazyOrNot<(props: UserProfileFormFieldsProps) => JSX.Element>;
doMakeUserConfirmPassword: boolean;
};