import React from "react";
import { locales } from "@pisell/utils";
import "../index.less";
//#region src/plus/saasRegister/components/GoLogin.tsx
const GoLogin = (props) => {
	const { showLogin = true, loginAlign = "center", showLoginText = true, loginText = locales.getText("pisell-saas-register-login-text"), loginLinkText = locales.getText("pisell-saas-register-login-link-text"), showLoginLinkText = true, onGoLogin } = props;
	return /* @__PURE__ */ React.createElement(React.Fragment, null, showLogin && /* @__PURE__ */ React.createElement("p", {
		className: "pisell-saas-register-action",
		style: { textAlign: loginAlign }
	}, showLoginText ? loginText : "", showLoginLinkText && /* @__PURE__ */ React.createElement("a", { onClick: onGoLogin }, loginLinkText || "")));
};
//#endregion
export { GoLogin as default };
