package.cjs.react-utils.PageTitle.PageTitle.js.map 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.
{"version":3,"file":"PageTitle.js","names":["_initializers","require","_reactHelmet","_interopRequireDefault","_jsxRuntime","PageTitle","_ref","title","pageTitle","concat","globalProps","appName","jsx","children","_default","exports"],"sources":["../../../../src/react-utils/PageTitle/PageTitle.jsx"],"sourcesContent":["import { globalProps } from \"neetocommons/initializers\";\nimport PropTypes from \"prop-types\";\nimport Helmet from \"react-helmet\";\n\nconst PageTitle = ({ title }) => {\n const pageTitle = title\n ? `${title} | ${globalProps.appName}`\n : globalProps.appName;\n\n return (\n \n {pageTitle} \n \n );\n};\n\nPageTitle.propTypes = {\n /**\n * Title to be set to the page.\n */\n title: PropTypes.string,\n};\n\nexport default PageTitle;\n"],"mappings":";;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAkC,IAAAG,WAAA,GAAAH,OAAA;AAElC,IAAMI,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAAkB;EAAA,IAAZC,KAAK,GAAAD,IAAA,CAALC,KAAK;EACxB,IAAMC,SAAS,GAAGD,KAAK,MAAAE,MAAA,CAChBF,KAAK,SAAAE,MAAA,CAAMC,yBAAW,CAACC,OAAO,IACjCD,yBAAW,CAACC,OAAO;EAEvB,oBACE,IAAAP,WAAA,CAAAQ,GAAA,EAACV,YAAA,WAAM;IAAAW,QAAA,eACL,IAAAT,WAAA,CAAAQ,GAAA;MAAAC,QAAA,EAAQL;IAAS,CAAQ;EAAC,CACpB,CAAC;AAEb,CAAC;AAAC,IAAAM,QAAA,GAAAC,OAAA,cASaV,SAAS","ignoreList":[]}