package.react-utils.PageTitle.PageTitle.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
import { globalProps } from "@bigbinary/neeto-commons-frontend/initializers";
import Helmet from "react-helmet";
import { jsx as _jsx } from "react/jsx-runtime";
var PageTitle = function PageTitle(_ref) {
var title = _ref.title;
var pageTitle = title ? "".concat(title, " | ").concat(globalProps.appName) : globalProps.appName;
return /*#__PURE__*/_jsx(Helmet, {
children: /*#__PURE__*/_jsx("title", {
children: pageTitle
})
});
};
export default PageTitle;
//# sourceMappingURL=PageTitle.js.map