'use strict';

var Helmet = require('react-helmet');
var jsxRuntime = require('react/jsx-runtime');

var PageTitle = function PageTitle(_ref) {
  var title = _ref.title;
  var pageTitle = title ? "".concat(title, " | ").concat(globalProps.appName) : globalProps.appName;
  return /*#__PURE__*/jsxRuntime.jsx(Helmet, {
    children: /*#__PURE__*/jsxRuntime.jsx("title", {
      children: pageTitle
    })
  });
};

module.exports = PageTitle;
//# sourceMappingURL=PageTitle.js.map
