package.cjs.react-utils.withT.withT.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":"withT.js","names":["_reactI18next","require","withT","Component","options","namespace","arguments","length","undefined","withTranslation","_default","exports"],"sources":["../../../../src/react-utils/withT/withT.js"],"sourcesContent":["import { withTranslation } from \"react-i18next\";\n\nconst withT = (Component, options, namespace = undefined) =>\n withTranslation(namespace, options)(Component);\n\nexport default withT;\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AAEA,IAAMC,KAAK,GAAG,SAARA,KAAKA,CAAIC,SAAS,EAAEC,OAAO;EAAA,IAAEC,SAAS,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGE,SAAS;EAAA,OACtD,IAAAC,6BAAe,EAACJ,SAAS,EAAED,OAAO,CAAC,CAACD,SAAS,CAAC;AAAA;AAAC,IAAAO,QAAA,GAAAC,OAAA,cAElCT,KAAK","ignoreList":[]}