1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
|
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\szabomarton\\\\Desktop\\\\Frontend\\\\Frontend\\\\25_01_07\\\\mai\\\\src\\\\Auto.js\",\n _s = $RefreshSig$();\nimport React from 'react';\nimport { useState } from 'react';\nimport { jsxDEV as _jsxDEV, Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nfunction Auto() {\n _s();\n let [marka, setMarka] = useState('Opel');\n return /*#__PURE__*/_jsxDEV(_Fragment, {\n children: [/*#__PURE__*/_jsxDEV(\"h1\", {\n children: [\"\\xC1llapot lek\\xE9rdez\\xE9s: \", marka]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 13\n }, this), /*#__PURE__*/_jsxDEV(\"input\", {\n type: \"button\",\n onClick: () => setMarka(\"Fiat\"),\n value: \"M\\xF3dos\\xEDt\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 13\n }, this)]\n }, void 0, true);\n}\n_s(Auto, \"lFwmHekyvscajCNBZ1VFfaMRzqI=\");\n_c = Auto;\nexport default Auto;\nvar _c;\n$RefreshReg$(_c, \"Auto\");","map":{"version":3,"names":["React","useState","jsxDEV","_jsxDEV","Fragment","_Fragment","Auto","_s","marka","setMarka","children","fileName","_jsxFileName","lineNumber","columnNumber","type","onClick","value","_c","$RefreshReg$"],"sources":["C:/Users/szabomarton/Desktop/Frontend/Frontend/25_01_07/mai/src/Auto.js"],"sourcesContent":["import React from 'react';\r\nimport { useState } from 'react';\r\n\r\nfunction Auto(){\r\n let [marka, setMarka] = useState('Opel');\r\n\r\n return (\r\n <>\r\n <h1>Állapot lekérdezés: {marka}</h1>\r\n <input type='button' onClick={() => setMarka(\"Fiat\")} value=\"Módosít\"/>\r\n </>\r\n )\r\n}\r\n\r\nexport default Auto;"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,OAAO;AAAC,SAAAC,MAAA,IAAAC,OAAA,EAAAC,QAAA,IAAAC,SAAA;AAEjC,SAASC,IAAIA,CAAA,EAAE;EAAAC,EAAA;EACX,IAAI,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAC,MAAM,CAAC;EAExC,oBACIE,OAAA,CAAAE,SAAA;IAAAK,QAAA,gBACIP,OAAA;MAAAO,QAAA,GAAI,+BAAoB,EAACF,KAAK;IAAA;MAAAG,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAK,CAAC,eACpCX,OAAA;MAAOY,IAAI,EAAC,QAAQ;MAACC,OAAO,EAAEA,CAAA,KAAMP,QAAQ,CAAC,MAAM,CAAE;MAACQ,KAAK,EAAC;IAAS;MAAAN,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAC,CAAC;EAAA,eACzE,CAAC;AAEX;AAACP,EAAA,CATQD,IAAI;AAAAY,EAAA,GAAJZ,IAAI;AAWb,eAAeA,IAAI;AAAC,IAAAY,EAAA;AAAAC,YAAA,CAAAD,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|