"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Info = void 0;
var _ui = require("@mirai/ui");
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));
var style = _interopRequireWildcard(require("./Session.module.css"));
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Info = _ref => {
  let {
    email,
    firstName,
    lastName
  } = _ref;
  return /*#__PURE__*/_react.default.createElement(_ui.View, {
    wide: true,
    className: style.texts
  }, /*#__PURE__*/_react.default.createElement(_ui.Text, {
    action: true,
    bold: true,
    role: "content"
  }, "".concat(firstName, " ").concat(lastName).trim()), /*#__PURE__*/_react.default.createElement(_ui.Text, {
    small: true,
    role: "content"
  }, email));
};
exports.Info = Info;
Info.displayName = 'Mirai:Core:Session:Account:Info';
Info.propTypes = {
  email: _propTypes.default.string,
  firstName: _propTypes.default.string,
  lastName: _propTypes.default.string
};
//# sourceMappingURL=Session.Account.Info.js.map