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.0 KiB

{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst CurrentTime = _ref => {\n let {\n className\n } = _ref;\n const today = new Date(),\n time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n {\n console.log(time);\n }\n return /*#__PURE__*/_jsxDEV(\"p\", {\n className: `text-primaryLight ${className}`,\n children: time\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 10\n }, this);\n};\n\n_c = CurrentTime;\nexport default CurrentTime;\nCurrentTime.defaultProps = {\n className: \"text-sm\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"CurrentTime\");","map":{"version":3,"names":["React","CurrentTime","className","today","Date","time","getHours","getMinutes","getSeconds","console","log","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/CurrentTime/index.js"],"sourcesContent":["import React from \"react\";\n\nconst CurrentTime = ({ className }) => {\n const today = new Date(),\n time =\n today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\n {\n console.log(time);\n }\n return <p className={`text-primaryLight ${className}`}>{time}</p>;\n};\n\nexport default CurrentTime;\n\nCurrentTime.defaultProps = {\n className: \"text-sm\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,WAAW,GAAG,QAAmB;EAAA,IAAlB;IAAEC;EAAF,CAAkB;EACrC,MAAMC,KAAK,GAAG,IAAIC,IAAJ,EAAd;EAAA,MACEC,IAAI,GACFF,KAAK,CAACG,QAAN,KAAmB,GAAnB,GAAyBH,KAAK,CAACI,UAAN,EAAzB,GAA8C,GAA9C,GAAoDJ,KAAK,CAACK,UAAN,EAFxD;EAGA;IACEC,OAAO,CAACC,GAAR,CAAYL,IAAZ;EACD;EACD,oBAAO;IAAG,SAAS,EAAG,qBAAoBH,SAAU,EAA7C;IAAA,UAAiDG;EAAjD;IAAA;IAAA;IAAA;EAAA,QAAP;AACD,CARD;;KAAMJ,W;AAUN,eAAeA,WAAf;AAEAA,WAAW,CAACU,YAAZ,GAA2B;EACzBT,SAAS,EAAE;AADc,CAA3B"},"metadata":{},"sourceType":"module"}