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.3 KiB
1 lines
2.3 KiB
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst ButtonDivTag = _ref => {\n let {\n className,\n text,\n onClick,\n props\n } = _ref;\n console.log(props);\n return /*#__PURE__*/_jsxDEV(\"div\", { ...props,\n onClick: onClick,\n className: `flex items-center justify-center transiton duration-200 hover:bg-opacity-70 ${className}`,\n children: text\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 5\n }, this);\n};\n\n_c = ButtonDivTag;\nexport default ButtonDivTag;\nButtonDivTag.defaultProps = {\n className: \"bg-primary hover:bg-primaryDark hover:bg-opacity-90 text-primaryText border border-b-4 border-primaryLight rounded text-sm px-4 py-4\",\n text: \"its a DIV tag not BUTTON\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"ButtonDivTag\");","map":{"version":3,"names":["React","ButtonDivTag","className","text","onClick","props","console","log","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/ButtonDivTag/index.js"],"sourcesContent":["import React from \"react\";\n\nconst ButtonDivTag = ({ className, text, onClick, props }) => {\n console.log(props);\n return (\n <div\n {...props}\n onClick={onClick}\n className={`flex items-center justify-center transiton duration-200 hover:bg-opacity-70 ${className}`}\n >\n {text}\n </div>\n );\n};\n\nexport default ButtonDivTag;\n\nButtonDivTag.defaultProps = {\n className:\n \"bg-primary hover:bg-primaryDark hover:bg-opacity-90 text-primaryText border border-b-4 border-primaryLight rounded text-sm px-4 py-4\",\n text: \"its a DIV tag not BUTTON\",\n};"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,YAAY,GAAG,QAAyC;EAAA,IAAxC;IAAEC,SAAF;IAAaC,IAAb;IAAmBC,OAAnB;IAA4BC;EAA5B,CAAwC;EAC5DC,OAAO,CAACC,GAAR,CAAYF,KAAZ;EACA,oBACE,oBACMA,KADN;IAEE,OAAO,EAAED,OAFX;IAGE,SAAS,EAAG,+EAA8EF,SAAU,EAHtG;IAAA,UAKGC;EALH;IAAA;IAAA;IAAA;EAAA,QADF;AASD,CAXD;;KAAMF,Y;AAaN,eAAeA,YAAf;AAEAA,YAAY,CAACO,YAAb,GAA4B;EAC1BN,SAAS,EACP,sIAFwB;EAG1BC,IAAI,EAAE;AAHoB,CAA5B"},"metadata":{},"sourceType":"module"} |