"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "LetterheadSection", {
    enumerable: true,
    get: function() {
        return LetterheadSection;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _Layout = require("./Layout");
const _Typography = require("./Typography");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const LetterheadSection = ({ logoSrc, certificateTitle, certificateSubtitle, letterheadConfig })=>{
    const { title, subTitle } = letterheadConfig;
    return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, logoSrc && /*#__PURE__*/ _react.default.createElement(_Layout.CertificateLogo, {
        logoSrc: logoSrc
    }), /*#__PURE__*/ _react.default.createElement(_Typography.CertificateAddress, null, `${title}\n${subTitle}`), /*#__PURE__*/ _react.default.createElement(_Typography.CertificateTitle, null, certificateTitle), certificateSubtitle && /*#__PURE__*/ _react.default.createElement(_Typography.CertificateSubtitle, null, certificateSubtitle));
};

//# sourceMappingURL=LetterheadSection.js.map