1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
{"ast":null,"code":"var _jsxFileName = \"C:\\\\Users\\\\\\u0410\\u0440\\u0438\\u0448\\u0438\\u043D\\u0430)\\\\source\\\\repos\\\\PromoCursed\\\\src\\\\components\\\\SongsBlock.tsx\";\nimport React from 'react';\nimport Track from './Track';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst RenderSongs = () => {\n const songs = 10;\n let content = [];\n for (let i = 0; i < songs; i++) {\n content.push( /*#__PURE__*/_jsxDEV(Track, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 18\n }, this));\n }\n return content;\n};\n_c = RenderSongs;\nclass SongsBlock extends React.Component {\n render() {\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"flex items-center justify-between p-4 border-b border-gray-300\",\n children: RenderSongs()\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 13\n }, this);\n }\n}\n;\nexport default SongsBlock;\nvar _c;\n$RefreshReg$(_c, \"RenderSongs\");","map":{"version":3,"names":["React","Track","jsxDEV","_jsxDEV","RenderSongs","songs","content","i","push","fileName","_jsxFileName","lineNumber","columnNumber","_c","SongsBlock","Component","render","className","children","$RefreshReg$"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/src/components/SongsBlock.tsx"],"sourcesContent":["import React from 'react';\r\nimport Track from './Track';\r\nimport { render } from '@testing-library/react';\r\n\r\nconst RenderSongs = () => {\r\n const songs = 10;\r\n let content = [];\r\n for (let i = 0; i < songs; i ++){\r\n content.push(<Track />)\r\n }\r\n\r\n return content;\r\n};\r\n\r\nclass SongsBlock extends React.Component {\r\n render(){\r\n return (\r\n <div className=\"flex items-center justify-between p-4 border-b border-gray-300\">\r\n {RenderSongs()}\r\n </div>\r\n \r\n );\r\n } \r\n};\r\n\r\nexport default SongsBlock;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,KAAK,MAAM,SAAS;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAG5B,MAAMC,WAAW,GAAGA,CAAA,KAAM;EACxB,MAAMC,KAAK,GAAG,EAAE;EAChB,IAAIC,OAAO,GAAG,EAAE;EAChB,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,KAAK,EAAEE,CAAC,EAAG,EAAC;IAC9BD,OAAO,CAACE,IAAI,eAACL,OAAA,CAACF,KAAK;MAAAQ,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OAAE,CAAC,CAAC;EACzB;EAEA,OAAON,OAAO;AAChB,CAAC;AAACO,EAAA,GARIT,WAAW;AAUjB,MAAMU,UAAU,SAASd,KAAK,CAACe,SAAS,CAAC;EACrCC,MAAMA,CAAA,EAAE;IACJ,oBACIb,OAAA;MAAKc,SAAS,EAAC,gEAAgE;MAAAC,QAAA,EAC1Ed,WAAW,CAAC;IAAC;MAAAK,QAAA,EAAAC,YAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,OACb,CAAC;EAGd;AACJ;AAAC;AAED,eAAeE,UAAU;AAAC,IAAAD,EAAA;AAAAM,YAAA,CAAAN,EAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |