a25438a140acffbadf3764d129fa2dff.json 2.06 KB
{"ast":null,"code":"import * as React from 'react';\nimport { ConfigContext } from '../config-provider';\n\nvar BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {\n  var children = _ref.children;\n\n  var _React$useContext = React.useContext(ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls;\n\n  var prefixCls = getPrefixCls('breadcrumb');\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-separator\")\n  }, children || '/');\n};\n\nBreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;\nexport default BreadcrumbSeparator;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js"],"names":["React","ConfigContext","BreadcrumbSeparator","_ref","children","_React$useContext","useContext","getPrefixCls","prefixCls","createElement","className","concat","__ANT_BREADCRUMB_SEPARATOR"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,aAAT,QAA8B,oBAA9B;;AAEA,IAAIC,mBAAmB,GAAG,SAASA,mBAAT,CAA6BC,IAA7B,EAAmC;AAC3D,MAAIC,QAAQ,GAAGD,IAAI,CAACC,QAApB;;AAEA,MAAIC,iBAAiB,GAAGL,KAAK,CAACM,UAAN,CAAiBL,aAAjB,CAAxB;AAAA,MACIM,YAAY,GAAGF,iBAAiB,CAACE,YADrC;;AAGA,MAAIC,SAAS,GAAGD,YAAY,CAAC,YAAD,CAA5B;AACA,SAAO,aAAaP,KAAK,CAACS,aAAN,CAAoB,MAApB,EAA4B;AAC9CC,IAAAA,SAAS,EAAE,GAAGC,MAAH,CAAUH,SAAV,EAAqB,YAArB;AADmC,GAA5B,EAEjBJ,QAAQ,IAAI,GAFK,CAApB;AAGD,CAVD;;AAYAF,mBAAmB,CAACU,0BAApB,GAAiD,IAAjD;AACA,eAAeV,mBAAf","sourcesContent":["import * as React from 'react';\nimport { ConfigContext } from '../config-provider';\n\nvar BreadcrumbSeparator = function BreadcrumbSeparator(_ref) {\n  var children = _ref.children;\n\n  var _React$useContext = React.useContext(ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls;\n\n  var prefixCls = getPrefixCls('breadcrumb');\n  return /*#__PURE__*/React.createElement(\"span\", {\n    className: \"\".concat(prefixCls, \"-separator\")\n  }, children || '/');\n};\n\nBreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;\nexport default BreadcrumbSeparator;"]},"metadata":{},"sourceType":"module"}