package.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":["withTranslation","withT","Component","options","namespace","arguments","length","undefined"],"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,SAASA,eAAe,QAAQ,eAAe;AAE/C,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,OACtDP,eAAe,CAACI,SAAS,EAAED,OAAO,CAAC,CAACD,SAAS,CAAC;AAAA;AAEhD,eAAeD,KAAK"}