You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
4.9 KiB
1 line
4.9 KiB
2 years ago
|
{"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 <div className=\"\">\n {/* page Title */}\n {title && (\n <div className=\"flex flex-row items-center mb-3\">\n <div\n className={`rounded bg-primaryDark ${titleBorderClassName}`}\n ></div>\n <h2 className={`text-primaryText ${titleClassName}`}>{title}</h2>\n </div>\n )}\n {/* page subTitle */}\n {subTitle && (\n <div className=\"flex flex-row items-center\">\n <div\n className={`rounded bg-primaryDark ${subtitleBorderClassName}`}\n ></div>\n <p className={`text-primaryDark ${subtitleClassName}`}>{subTitle}</p>\n </div>\n )}\n </div>\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,OAAO
|