mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +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 classNames from 'classnames';\nimport TooltipPopoverWrapper, { propTypes } from './TooltipPopoverWrapper';\nvar defaultProps = {\n placement: 'top',\n autohide: true,\n placementPrefix: 'bs-tooltip',\n trigger: 'hover focus'\n};\n\nvar Tooltip = function Tooltip(props) {\n var popperClasses = classNames('tooltip', 'show', props.popperClassName);\n var classes = classNames('tooltip-inner', props.innerClassName);\n return /*#__PURE__*/React.createElement(TooltipPopoverWrapper, _extends({}, props, {\n popperClassName: popperClasses,\n innerClassName: classes\n }));\n};\n\nTooltip.propTypes = propTypes;\nTooltip.defaultProps = defaultProps;\nexport default Tooltip;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/Tooltip.js"],"names":["_extends","React","classNames","TooltipPopoverWrapper","propTypes","defaultProps","placement","autohide","placementPrefix","trigger","Tooltip","props","popperClasses","popperClassName","classes","innerClassName","createElement"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,qBAAP,IAAgCC,SAAhC,QAAiD,yBAAjD;AACA,IAAIC,YAAY,GAAG;AACjBC,EAAAA,SAAS,EAAE,KADM;AAEjBC,EAAAA,QAAQ,EAAE,IAFO;AAGjBC,EAAAA,eAAe,EAAE,YAHA;AAIjBC,EAAAA,OAAO,EAAE;AAJQ,CAAnB;;AAOA,IAAIC,OAAO,GAAG,SAASA,OAAT,CAAiBC,KAAjB,EAAwB;AACpC,MAAIC,aAAa,GAAGV,UAAU,CAAC,SAAD,EAAY,MAAZ,EAAoBS,KAAK,CAACE,eAA1B,CAA9B;AACA,MAAIC,OAAO,GAAGZ,UAAU,CAAC,eAAD,EAAkBS,KAAK,CAACI,cAAxB,CAAxB;AACA,SAAO,aAAad,KAAK,CAACe,aAAN,CAAoBb,qBAApB,EAA2CH,QAAQ,CAAC,EAAD,EAAKW,KAAL,EAAY;AACjFE,IAAAA,eAAe,EAAED,aADgE;AAEjFG,IAAAA,cAAc,EAAED;AAFiE,GAAZ,CAAnD,CAApB;AAID,CAPD;;AASAJ,OAAO,CAACN,SAAR,GAAoBA,SAApB;AACAM,OAAO,CAACL,YAAR,GAAuBA,YAAvB;AACA,eAAeK,OAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport classNames from 'classnames';\nimport TooltipPopoverWrapper, { propTypes } from './TooltipPopoverWrapper';\nvar defaultProps = {\n placement: 'top',\n autohide: true,\n placementPrefix: 'bs-tooltip',\n trigger: 'hover focus'\n};\n\nvar Tooltip = function Tooltip(props) {\n var popperClasses = classNames('tooltip', 'show', props.popperClassName);\n var classes = classNames('tooltip-inner', props.innerClassName);\n return /*#__PURE__*/React.createElement(TooltipPopoverWrapper, _extends({}, props, {\n popperClassName: popperClasses,\n innerClassName: classes\n }));\n};\n\nTooltip.propTypes = propTypes;\nTooltip.defaultProps = defaultProps;\nexport default Tooltip;"]},"metadata":{},"sourceType":"module"} |