All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.react-utils.PageTitle.PageTitle.js.map Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
{"version":3,"file":"PageTitle.js","names":["globalProps","Helmet","jsx","_jsx","PageTitle","_ref","title","pageTitle","concat","appName","children"],"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,SAASA,WAAW;AAEpB,OAAOC,MAAM,MAAM,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAElC,IAAMC,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,CAAMR,WAAW,CAACS,OAAO,IACjCT,WAAW,CAACS,OAAO;EAEvB,oBACEN,IAAA,CAACF,MAAM;IAAAS,QAAA,eACLP,IAAA;MAAAO,QAAA,EAAQH;IAAS,CAAQ;EAAC,CACpB,CAAC;AAEb,CAAC;AASD,eAAeH,SAAS","ignoreList":[]}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy