1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport { SpaceContext } from './context';\nconst Item = _ref => {\n let {\n className,\n index,\n children,\n split,\n style\n } = _ref;\n const {\n latestIndex\n } = React.useContext(SpaceContext);\n if (children === null || children === undefined) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, children), index < latestIndex && split && /*#__PURE__*/React.createElement(\"span\", {\n className: `${className}-split`\n }, split));\n};\nexport default Item;","map":{"version":3,"names":["React","SpaceContext","Item","_ref","className","index","children","split","style","latestIndex","useContext","undefined","createElement","Fragment"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/space/Item.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { SpaceContext } from './context';\nconst Item = _ref => {\n let {\n className,\n index,\n children,\n split,\n style\n } = _ref;\n const {\n latestIndex\n } = React.useContext(SpaceContext);\n if (children === null || children === undefined) {\n return null;\n }\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: className,\n style: style\n }, children), index < latestIndex && split && /*#__PURE__*/React.createElement(\"span\", {\n className: `${className}-split`\n }, split));\n};\nexport default Item;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,YAAY,QAAQ,WAAW;AACxC,MAAMC,IAAI,GAAGC,IAAI,IAAI;EACnB,IAAI;IACFC,SAAS;IACTC,KAAK;IACLC,QAAQ;IACRC,KAAK;IACLC;EACF,CAAC,GAAGL,IAAI;EACR,MAAM;IACJM;EACF,CAAC,GAAGT,KAAK,CAACU,UAAU,CAACT,YAAY,CAAC;EAClC,IAAIK,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAKK,SAAS,EAAE;IAC/C,OAAO,IAAI;EACb;EACA,OAAO,aAAaX,KAAK,CAACY,aAAa,CAACZ,KAAK,CAACa,QAAQ,EAAE,IAAI,EAAE,aAAab,KAAK,CAACY,aAAa,CAAC,KAAK,EAAE;IACpGR,SAAS,EAAEA,SAAS;IACpBI,KAAK,EAAEA;EACT,CAAC,EAAEF,QAAQ,CAAC,EAAED,KAAK,GAAGI,WAAW,IAAIF,KAAK,IAAI,aAAaP,KAAK,CAACY,aAAa,CAAC,MAAM,EAAE;IACrFR,SAAS,EAAE,GAAGA,SAAS;EACzB,CAAC,EAAEG,KAAK,CAAC,CAAC;AACZ,CAAC;AACD,eAAeL,IAAI","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |