mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
2.6 KiB
JSON
1 line
2.6 KiB
JSON
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = function Component(props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}","map":{"version":3,"sources":["/app/node_modules/@material-ui/core/esm/utils/createSvgIcon.js"],"names":["_extends","React","SvgIcon","createSvgIcon","path","displayName","Component","props","ref","createElement","process","env","NODE_ENV","concat","muiName","memo","forwardRef"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,OAAP,MAAoB,YAApB;AACA;AACA;AACA;;AAEA,eAAe,SAASC,aAAT,CAAuBC,IAAvB,EAA6BC,WAA7B,EAA0C;AACvD,MAAIC,SAAS,GAAG,SAASA,SAAT,CAAmBC,KAAnB,EAA0BC,GAA1B,EAA+B;AAC7C,WAAO,aAAaP,KAAK,CAACQ,aAAN,CAAoBP,OAApB,EAA6BF,QAAQ,CAAC;AACxDQ,MAAAA,GAAG,EAAEA;AADmD,KAAD,EAEtDD,KAFsD,CAArC,EAETH,IAFS,CAApB;AAGD,GAJD;;AAMA,MAAIM,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA7B,EAA2C;AACzC;AACA;AACAN,IAAAA,SAAS,CAACD,WAAV,GAAwB,GAAGQ,MAAH,CAAUR,WAAV,EAAuB,MAAvB,CAAxB;AACD;;AAEDC,EAAAA,SAAS,CAACQ,OAAV,GAAoBZ,OAAO,CAACY,OAA5B;AACA,SAAO,aAAab,KAAK,CAACc,IAAN,EAAY,aAAad,KAAK,CAACe,UAAN,CAAiBV,SAAjB,CAAzB,CAApB;AACD","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = function Component(props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n };\n\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(Component));\n}"]},"metadata":{},"sourceType":"module"} |