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 lines
2.5 KiB

{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CustomToast = _ref => {\n let {\n className,\n icon\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: `flex flex-row items-center text-sm rounded ${className} `,\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"flex-1\",\n children: \"\\u062A\\u0631\\u0633\\u06CC\\u0645 \\u0646\\u0642\\u0634\\u0647 \\u0633\\u0627\\u0644\\u0646\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 7\n }, this), icon && /*#__PURE__*/_jsxDEV(\"img\", {\n src: icon,\n alt: \"pen\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 7,\n columnNumber: 16\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 5\n }, this);\n};\n\n_c = CustomToast;\nexport default CustomToast;\nCustomToast.defaultProps = {\n className: \"p-4 mt-4 bg-[#489BEC33] border-2 border-primaryLight text-secondary font-bold\",\n icon: \"images/CustomToastpen-icon.svg\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"CustomToast\");","map":{"version":3,"names":["React","CustomToast","className","icon","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/CustomToast/index.js"],"sourcesContent":["import React from \"react\";\n\nconst CustomToast = ({ className, icon }) => {\n return (\n <div className={`flex flex-row items-center text-sm rounded ${className} `}>\n <p className=\"flex-1\">ترسیم نقشه سالن</p>\n {icon && <img src={icon} alt=\"pen\" />}\n </div>\n );\n};\n\nexport default CustomToast;\n\nCustomToast.defaultProps = {\n className:\n \"p-4 mt-4 bg-[#489BEC33] border-2 border-primaryLight text-secondary font-bold\",\n icon: \"images/CustomToastpen-icon.svg\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,WAAW,GAAG,QAAyB;EAAA,IAAxB;IAAEC,SAAF;IAAaC;EAAb,CAAwB;EAC3C,oBACE;IAAK,SAAS,EAAG,8CAA6CD,SAAU,GAAxE;IAAA,wBACE;MAAG,SAAS,EAAC,QAAb;MAAA;IAAA;MAAA;MAAA;MAAA;IAAA,QADF,EAEGC,IAAI,iBAAI;MAAK,GAAG,EAAEA,IAAV;MAAgB,GAAG,EAAC;IAApB;MAAA;MAAA;MAAA;IAAA,QAFX;EAAA;IAAA;IAAA;IAAA;EAAA,QADF;AAMD,CAPD;;KAAMF,W;AASN,eAAeA,WAAf;AAEAA,WAAW,CAACG,YAAZ,GAA2B;EACzBF,SAAS,EACP,+EAFuB;EAGzBC,IAAI,EAAE;AAHmB,CAA3B"},"metadata":{},"sourceType":"module"}