import React from "react"; import { ReactSVG } from "react-svg"; import SsoReactSvgUrl from "PUBLIC_DIR/images/sso.react.svg?url"; import { Text } from "@docspace/shared/components/text"; import { Button, ButtonSize } from "@docspace/shared/components/button"; import { PROVIDERS_DATA } from "@docspace/shared/constants"; import { ModalDialog, ModalDialogType, } from "@docspace/shared/components/modal-dialog"; import { getProviderLabel } from "@docspace/shared/utils/common"; import { Modal, ProviderRow } from "./MoreLoginModal.styled"; import type { MoreLoginModalProps, ProvidersDataType, } from "./MoreLoginModal.types"; const MoreLoginModal: React.FC = (props) => { const { t, visible, onClose, providers, onSocialLoginClick, ssoLabel, ssoUrl, } = props; return ( {t("Common:ContinueWith")} {ssoUrl && ( {ssoLabel || getProviderLabel("sso-full", t)}