{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst TitleSubtitle = _ref => {\n let {\n title,\n subTitle,\n titleClassName,\n titleBorderClassName,\n subtitleClassName,\n subtitleBorderClassName\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"\",\n children: [title && /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center mb-3\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: `rounded bg-primaryDark ${titleBorderClassName}`\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"h2\", {\n className: `text-primaryText ${titleClassName}`,\n children: title\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 9\n }, this), subTitle && /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center\",\n children: [/*#__PURE__*/_jsxDEV(\"div\", {\n className: `rounded bg-primaryDark ${subtitleBorderClassName}`\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n className: `text-primaryDark ${subtitleClassName}`,\n children: subTitle\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 5\n }, this);\n};\n\n_c = TitleSubtitle;\nexport default TitleSubtitle;\nTitleSubtitle.defaultProps = {\n title: \"میزان فروش محصولات\",\n subTitle: \"اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر\",\n titleClassName: \"text-base\",\n titleBorderClassName: \"w-1 h-5 ml-1\",\n subtitleClassName: \"text-xs\",\n subtitleBorderClassName: \"w-1 h-5 ml-1\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"TitleSubtitle\");","map":{"version":3,"names":["React","TitleSubtitle","title","subTitle","titleClassName","titleBorderClassName","subtitleClassName","subtitleBorderClassName","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/TitleSubtitle/index.js"],"sourcesContent":["import React from \"react\";\n\nconst TitleSubtitle = ({\n title,\n subTitle,\n titleClassName,\n titleBorderClassName,\n subtitleClassName,\n subtitleBorderClassName,\n}) => {\n return (\n
\n {/* page Title */}\n {title && (\n
\n
\n

{title}

\n
\n )}\n {/* page subTitle */}\n {subTitle && (\n
\n
\n

{subTitle}

\n \n )}\n \n );\n};\n\nexport default TitleSubtitle;\n\nTitleSubtitle.defaultProps = {\n title: \"میزان فروش محصولات\",\n subTitle: \"اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر\",\n\n titleClassName: \"text-base\",\n titleBorderClassName: \"w-1 h-5 ml-1\",\n\n subtitleClassName: \"text-xs\",\n subtitleBorderClassName: \"w-1 h-5 ml-1\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,aAAa,GAAG,QAOhB;EAAA,IAPiB;IACrBC,KADqB;IAErBC,QAFqB;IAGrBC,cAHqB;IAIrBC,oBAJqB;IAKrBC,iBALqB;IAMrBC;EANqB,CAOjB;EACJ,oBACE;IAAK,SAAS,EAAC,EAAf;IAAA,WAEGL,KAAK,iBACJ;MAAK,SAAS,EAAC,iCAAf;MAAA,wBACE;QACE,SAAS,EAAG,0BAAyBG,oBAAqB;MAD5D;QAAA;QAAA;QAAA;MAAA,QADF,eAIE;QAAI,SAAS,EAAG,oBAAmBD,cAAe,EAAlD;QAAA,UAAsDF;MAAtD;QAAA;QAAA;QAAA;MAAA,QAJF;IAAA;MAAA;MAAA;MAAA;IAAA,QAHJ,EAWGC,QAAQ,iBACP;MAAK,SAAS,EAAC,4BAAf;MAAA,wBACE;QACE,SAAS,EAAG,0BAAyBI,uBAAwB;MAD/D;QAAA;QAAA;QAAA;MAAA,QADF,eAIE;QAAG,SAAS,EAAG,oBAAmBD,iBAAkB,EAApD;QAAA,UAAwDH;MAAxD;QAAA;QAAA;QAAA;MAAA,QAJF;IAAA;MAAA;MAAA;MAAA;IAAA,QAZJ;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAsBD,CA9BD;;KAAMF,a;AAgCN,eAAeA,aAAf;AAEAA,aAAa,CAACO,YAAd,GAA6B;EAC3BN,KAAK,EAAE,oBADoB;EAE3BC,QAAQ,EAAE,iDAFiB;EAI3BC,cAAc,EAAE,WAJW;EAK3BC,oBAAoB,EAAE,cALK;EAO3BC,iBAAiB,EAAE,SAPQ;EAQ3BC,uBAAuB,EAAE;AARE,CAA7B"},"metadata":{},"sourceType":"module"}