1 line
2.3 KiB
JSON
1 line
2.3 KiB
JSON
{"ast":null,"code":"import * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useMeasure } from \"./context/PathContext\";\nexport default function Divider(_ref) {\n var className = _ref.className,\n style = _ref.style;\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n var measure = useMeasure();\n if (measure) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n role: \"separator\",\n className: classNames(\"\".concat(prefixCls, \"-item-divider\"), className),\n style: style\n });\n}","map":{"version":3,"names":["React","classNames","MenuContext","useMeasure","Divider","_ref","className","style","_React$useContext","useContext","prefixCls","measure","createElement","role","concat"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-menu/es/Divider.js"],"sourcesContent":["import * as React from 'react';\nimport classNames from 'classnames';\nimport { MenuContext } from \"./context/MenuContext\";\nimport { useMeasure } from \"./context/PathContext\";\nexport default function Divider(_ref) {\n var className = _ref.className,\n style = _ref.style;\n var _React$useContext = React.useContext(MenuContext),\n prefixCls = _React$useContext.prefixCls;\n var measure = useMeasure();\n if (measure) {\n return null;\n }\n return /*#__PURE__*/React.createElement(\"li\", {\n role: \"separator\",\n className: classNames(\"\".concat(prefixCls, \"-item-divider\"), className),\n style: style\n });\n}"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,WAAW,QAAQ,uBAAuB;AACnD,SAASC,UAAU,QAAQ,uBAAuB;AAClD,eAAe,SAASC,OAAOA,CAACC,IAAI,EAAE;EACpC,IAAIC,SAAS,GAAGD,IAAI,CAACC,SAAS;IAC5BC,KAAK,GAAGF,IAAI,CAACE,KAAK;EACpB,IAAIC,iBAAiB,GAAGR,KAAK,CAACS,UAAU,CAACP,WAAW,CAAC;IACnDQ,SAAS,GAAGF,iBAAiB,CAACE,SAAS;EACzC,IAAIC,OAAO,GAAGR,UAAU,CAAC,CAAC;EAC1B,IAAIQ,OAAO,EAAE;IACX,OAAO,IAAI;EACb;EACA,OAAO,aAAaX,KAAK,CAACY,aAAa,CAAC,IAAI,EAAE;IAC5CC,IAAI,EAAE,WAAW;IACjBP,SAAS,EAAEL,UAAU,CAAC,EAAE,CAACa,MAAM,CAACJ,SAAS,EAAE,eAAe,CAAC,EAAEJ,SAAS,CAAC;IACvEC,KAAK,EAAEA;EACT,CAAC,CAAC;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |