24352aeb5c5545c36451eee316e544f4.json 2.31 KB
Newer Older
1
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\Bruger\\\\Desktop\\\\Web-projects\\\\pipit\\\\client\\\\src\\\\components\\\\navbar\\\\loginButton\\\\LoginButton.jsx\";\nimport React, { useRef, useState, useEffect } from 'react';\nimport \"./LoginButton.css\";\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nconst LoginButton = props => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"loginButtonContainer\",\n    children: /*#__PURE__*/_jsxDEV(\"button\", {\n      onClick: () => props.onClick,\n      children: [\"Log in\\xA0\\xA0\", /*#__PURE__*/_jsxDEV(FontAwesomeIcon, {\n        icon: \"sign-in-alt\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 12,\n        columnNumber: 9\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 10,\n      columnNumber: 7\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 9,\n    columnNumber: 5\n  }, this);\n};\n\n_c = LoginButton;\nexport default LoginButton;\n\nvar _c;\n\n$RefreshReg$(_c, \"LoginButton\");","map":{"version":3,"sources":["C:/Users/Bruger/Desktop/Web-projects/pipit/client/src/components/navbar/loginButton/LoginButton.jsx"],"names":["React","useRef","useState","useEffect","FontAwesomeIcon","LoginButton","props","onClick"],"mappings":";AACA,OAAOA,KAAP,IAAgBC,MAAhB,EAAwBC,QAAxB,EAAkCC,SAAlC,QAAmD,OAAnD;AACA,OAAO,mBAAP;AACA,SAASC,eAAT,QAAgC,gCAAhC;;;AAEA,MAAMC,WAAW,GAAIC,KAAD,IAAW;AAE7B,sBACE;AAAK,IAAA,SAAS,EAAC,sBAAf;AAAA,2BACE;AAAQ,MAAA,OAAO,EAAE,MAAMA,KAAK,CAACC,OAA7B;AAAA,gDAEE,QAAC,eAAD;AAAiB,QAAA,IAAI,EAAC;AAAtB;AAAA;AAAA;AAAA;AAAA,cAFF;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,UADF;AAQD,CAVD;;KAAMF,W;AAYN,eAAeA,WAAf","sourcesContent":["\r\nimport React, { useRef, useState, useEffect } from 'react'\r\nimport \"./LoginButton.css\"\r\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome'\r\n\r\nconst LoginButton = (props) => {\r\n\r\n  return (\r\n    <div className=\"loginButtonContainer\">\r\n      <button onClick={() => props.onClick}>\r\n        Log in&nbsp;&nbsp;\r\n        <FontAwesomeIcon icon=\"sign-in-alt\"></FontAwesomeIcon>\r\n      </button>\r\n    </div>\r\n  )\r\n}\r\n\r\nexport default LoginButton\r\n"]},"metadata":{},"sourceType":"module"}