/**
 * 邮件链接已过期页面 - 对应图2
 */
import React from 'react';
import { Button } from '@pisell/materials';
import { locales } from '@pisell/utils';
function EmailLinkExpired(_ref) {
  var onBackToRegistration = _ref.onBackToRegistration,
    onGoToLogin = _ref.onGoToLogin;
  return /*#__PURE__*/React.createElement("div", {
    className: "register-step-container email-link-expired-page"
  }, /*#__PURE__*/React.createElement("div", {
    className: "register-step-content"
  }, /*#__PURE__*/React.createElement("h2", {
    className: "email-link-result-title"
  }, locales.getText('pisell-register2-link-expired-title')), /*#__PURE__*/React.createElement("p", {
    className: "email-link-result-desc"
  }, locales.getText('pisell-register2-link-expired-desc')), /*#__PURE__*/React.createElement(Button, {
    type: "primary",
    size: "large",
    block: true,
    onClick: onBackToRegistration,
    className: "register-submit-btn"
  }, locales.getText('pisell-register2-back-to-registration')), /*#__PURE__*/React.createElement("div", {
    className: "register-footer-prompt"
  }, /*#__PURE__*/React.createElement("span", {
    className: "prompt-text"
  }, locales.getText('pisell-register2-have-account'), ' '), /*#__PURE__*/React.createElement("button", {
    className: "prompt-link",
    onClick: onGoToLogin
  }, locales.getText('pisell-register2-login-link')))));
}
export default EmailLinkExpired;