mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
3.5 KiB
JSON
1 line
3.5 KiB
JSON
|
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.any,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'h5'\n};\n\nvar ListGroupItemHeading = function ListGroupItemHeading(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'list-group-item-heading'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nListGroupItemHeading.propTypes = propTypes;\nListGroupItemHeading.defaultProps = defaultProps;\nexport default ListGroupItemHeading;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/ListGroupItemHeading.js"],"names":["_extends","_objectWithoutPropertiesLoose","React","PropTypes","classNames","mapToCssModules","tagPropType","propTypes","tag","className","any","cssModule","object","defaultProps","ListGroupItemHeading","props","Tag","attributes","classes","createElement"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,oCAArB;AACA,OAAOC,6BAAP,MAA0C,yDAA1C;AACA,OAAOC,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,eAAT,EAA0BC,WAA1B,QAA6C,SAA7C;AACA,IAAIC,SAAS,GAAG;AACdC,EAAAA,GAAG,EAAEF,WADS;AAEdG,EAAAA,SAAS,EAAEN,SAAS,CAACO,GAFP;AAGdC,EAAAA,SAAS,EAAER,SAAS,CAACS;AAHP,CAAhB;AAKA,IAAIC,YAAY,GAAG;AACjBL,EAAAA,GAAG,EAAE;AADY,CAAnB;;AAIA,IAAIM,oBAAoB,GAAG,SAASA,oBAAT,CAA8BC,KAA9B,EAAqC;AAC9D,MAAIN,SAAS,GAAGM,KAAK,CAACN,SAAtB;AAAA,MACIE,SAAS,GAAGI,KAAK,CAACJ,SADtB;AAAA,MAEIK,GAAG,GAAGD,KAAK,CAACP,GAFhB;AAAA,MAGIS,UAAU,GAAGhB,6BAA6B,CAACc,KAAD,EAAQ,CAAC,WAAD,EAAc,WAAd,EAA2B,KAA3B,CAAR,CAH9C;;AAKA,MAAIG,OAAO,GAAGb,eAAe,CAACD,UAAU,CAACK,SAAD,EAAY,yBAAZ,CAAX,EAAmDE,SAAnD,CAA7B;AACA,SAAO,aAAaT,KAAK,CAACiB,aAAN,CAAoBH,GAApB,EAAyBhB,QAAQ,CAAC,EAAD,EAAKiB,UAAL,EAAiB;AACpER,IAAAA,SAAS,EAAES;AADyD,GAAjB,CAAjC,CAApB;AAGD,CAVD;;AAYAJ,oBAAoB,CAACP,SAArB,GAAiCA,SAAjC;AACAO,oBAAoB,CAACD,YAArB,GAAoCA,YAApC;AACA,eAAeC,oBAAf","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.any,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'h5'\n};\n\nvar ListGroupItemHeading = function ListGroupItemHeading(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n\n var classes = mapToCssModules(classNames(className, 'list-group-item-heading'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nListGroupItemHeading.propTypes = propTypes;\nListGroupItemHeading.defaultProps = defaultProps;\nexport default ListGroupItemHeading;"]},"metadata":{},"sourceType":"module"}
|