From d63657d4b923f3862f031e20e514fce8a3ce2c2a Mon Sep 17 00:00:00 2001 From: Darya Umrikhina Date: Wed, 14 Aug 2024 19:24:36 +0400 Subject: [PATCH] Login:Components:WizardForm: add type WizardFormProps --- .../login/src/components/WizardForm/index.tsx | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packages/login/src/components/WizardForm/index.tsx b/packages/login/src/components/WizardForm/index.tsx index 8d6625416e..e08173fbc8 100644 --- a/packages/login/src/components/WizardForm/index.tsx +++ b/packages/login/src/components/WizardForm/index.tsx @@ -65,10 +65,16 @@ import { InputSize, InputType } from "@docspace/shared/components/text-input"; import useDeviceType from "@/hooks/useDeviceType"; import { DeviceType } from "@docspace/shared/enums"; import { Nullable } from "@docspace/shared/types"; +import { + TPasswordHash, + TPasswordSettings, + TPortalCultures, + TTimeZone, +} from "@docspace/shared/api/settings/types"; import RefreshReactSvgUrl from "PUBLIC_DIR/images/refresh.react.svg?url"; -import { TCulturesOption, TTimeZoneOption, WizardFormProps } from "@/types"; +import { TCulturesOption, TTimeZoneOption } from "@/types"; import { DEFAULT_SELECT_LANGUAGE, DEFAULT_SELECT_TIMEZONE, @@ -82,6 +88,17 @@ import { WizardContainer, } from "./WizardForm.styled"; +type WizardFormProps = { + passwordSettings?: TPasswordSettings; + machineName?: string; + isRequiredLicense?: boolean; + portalTimeZones?: TTimeZone[]; + portalCultures?: TPortalCultures; + culture?: string; + wizardToken?: string; + passwordHash?: TPasswordHash; +}; + const emailSettings = new EmailSettings(); emailSettings.allowDomainPunycode = true;