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