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
6.1 KiB
1 lines
6.1 KiB
{"ast":null,"code":"var _jsxFileName = \"/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js\";\nimport React from \"react\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst ProfileInfo = _ref => {\n let {\n name,\n role\n } = _ref;\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex flex-row items-center\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg\",\n className: \"rounded-full\",\n alt: \"profile-pic\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 6,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"mx-4\",\n children: [/*#__PURE__*/_jsxDEV(\"p\", {\n className: \"text-primary text-sm\",\n children: name\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"span\", {\n className: \"text-primary text-xs\",\n children: role\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"button\", {\n id: \"dropdownDefault\",\n \"data-dropdown-toggle\": \"dropdown\",\n type: \"button\",\n children: /*#__PURE__*/_jsxDEV(\"img\", {\n src: \"images/ProfileInfoarrow-down.svg\",\n className: \"cursor-pointer\",\n alt: \"arrow-down\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 7\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n id: \"dropdown\",\n className: \"hidden z-10 w-44 bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700\",\n children: /*#__PURE__*/_jsxDEV(\"ul\", {\n className: \"py-1 text-sm text-gray-700 dark:text-gray-200\",\n \"aria-labelledby\": \"dropdownDefault\",\n children: /*#__PURE__*/_jsxDEV(\"li\", {\n children: /*#__PURE__*/_jsxDEV(\"a\", {\n href: \"#\",\n className: \"block py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\",\n children: \"Dashboard\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 7\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 5,\n columnNumber: 5\n }, this);\n};\n\n_c = ProfileInfo;\nexport default ProfileInfo;\nProfileInfo.defaultProps = {\n name: \"سبحان قاسمی\",\n role: \"خادم محترم\"\n};\n\nvar _c;\n\n$RefreshReg$(_c, \"ProfileInfo\");","map":{"version":3,"names":["React","ProfileInfo","name","role","defaultProps"],"sources":["/Users/mahdi/Documents/work/programming/barnameNegar/arbaeenWebApp/src/components/UserProfileInfo/ProfileInfo/index.js"],"sourcesContent":["import React from \"react\";\n\nconst ProfileInfo = ({ name, role }) => {\n return (\n <div className=\"flex flex-row items-center\">\n <img\n src=\"images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg\"\n className=\"rounded-full\"\n alt=\"profile-pic\"\n />\n <div className=\"mx-4\">\n <p className=\"text-primary text-sm\">{name}</p>\n <span className=\"text-primary text-xs\">{role}</span>\n </div>\n {/* dropdown */}\n <button\n id=\"dropdownDefault\"\n data-dropdown-toggle=\"dropdown\"\n type=\"button\"\n >\n <img\n src=\"images/ProfileInfoarrow-down.svg\"\n className=\"cursor-pointer\"\n alt=\"arrow-down\"\n />\n </button>\n <div\n id=\"dropdown\"\n className=\"hidden z-10 w-44 bg-white rounded divide-y divide-gray-100 shadow dark:bg-gray-700\"\n >\n <ul\n className=\"py-1 text-sm text-gray-700 dark:text-gray-200\"\n aria-labelledby=\"dropdownDefault\"\n >\n <li>\n <a\n href=\"#\"\n className=\"block py-2 px-4 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\"\n >\n Dashboard\n </a>\n </li>\n </ul>\n </div>\n </div>\n );\n};\n\nexport default ProfileInfo;\n\nProfileInfo.defaultProps = {\n name: \"سبحان قاسمی\",\n role: \"خادم محترم\",\n};\n"],"mappings":";AAAA,OAAOA,KAAP,MAAkB,OAAlB;;;AAEA,MAAMC,WAAW,GAAG,QAAoB;EAAA,IAAnB;IAAEC,IAAF;IAAQC;EAAR,CAAmB;EACtC,oBACE;IAAK,SAAS,EAAC,4BAAf;IAAA,wBACE;MACE,GAAG,EAAC,kEADN;MAEE,SAAS,EAAC,cAFZ;MAGE,GAAG,EAAC;IAHN;MAAA;MAAA;MAAA;IAAA,QADF,eAME;MAAK,SAAS,EAAC,MAAf;MAAA,wBACE;QAAG,SAAS,EAAC,sBAAb;QAAA,UAAqCD;MAArC;QAAA;QAAA;QAAA;MAAA,QADF,eAEE;QAAM,SAAS,EAAC,sBAAhB;QAAA,UAAwCC;MAAxC;QAAA;QAAA;QAAA;MAAA,QAFF;IAAA;MAAA;MAAA;MAAA;IAAA,QANF,eAWE;MACE,EAAE,EAAC,iBADL;MAEE,wBAAqB,UAFvB;MAGE,IAAI,EAAC,QAHP;MAAA,uBAKE;QACE,GAAG,EAAC,kCADN;QAEE,SAAS,EAAC,gBAFZ;QAGE,GAAG,EAAC;MAHN;QAAA;QAAA;QAAA;MAAA;IALF;MAAA;MAAA;MAAA;IAAA,QAXF,eAsBE;MACE,EAAE,EAAC,UADL;MAEE,SAAS,EAAC,oFAFZ;MAAA,uBAIE;Q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