mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
3.0 KiB
JSON
1 line
3.0 KiB
JSON
{"ast":null,"code":"import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules } from './utils';\n\nvar CarouselCaption = function CarouselCaption(props) {\n var captionHeader = props.captionHeader,\n captionText = props.captionText,\n cssModule = props.cssModule,\n className = props.className;\n var classes = mapToCssModules(classNames(className, 'carousel-caption', 'd-none', 'd-md-block'), cssModule);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classes\n }, /*#__PURE__*/React.createElement(\"h3\", null, captionHeader), /*#__PURE__*/React.createElement(\"p\", null, captionText));\n};\n\nCarouselCaption.propTypes = {\n captionHeader: PropTypes.node,\n captionText: PropTypes.node.isRequired,\n cssModule: PropTypes.object,\n className: PropTypes.string\n};\nexport default CarouselCaption;","map":{"version":3,"sources":["/app/node_modules/reactstrap/es/CarouselCaption.js"],"names":["React","PropTypes","classNames","mapToCssModules","CarouselCaption","props","captionHeader","captionText","cssModule","className","classes","createElement","propTypes","node","isRequired","object","string"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAASC,eAAT,QAAgC,SAAhC;;AAEA,IAAIC,eAAe,GAAG,SAASA,eAAT,CAAyBC,KAAzB,EAAgC;AACpD,MAAIC,aAAa,GAAGD,KAAK,CAACC,aAA1B;AAAA,MACIC,WAAW,GAAGF,KAAK,CAACE,WADxB;AAAA,MAEIC,SAAS,GAAGH,KAAK,CAACG,SAFtB;AAAA,MAGIC,SAAS,GAAGJ,KAAK,CAACI,SAHtB;AAIA,MAAIC,OAAO,GAAGP,eAAe,CAACD,UAAU,CAACO,SAAD,EAAY,kBAAZ,EAAgC,QAAhC,EAA0C,YAA1C,CAAX,EAAoED,SAApE,CAA7B;AACA,SAAO,aAAaR,KAAK,CAACW,aAAN,CAAoB,KAApB,EAA2B;AAC7CF,IAAAA,SAAS,EAAEC;AADkC,GAA3B,EAEjB,aAAaV,KAAK,CAACW,aAAN,CAAoB,IAApB,EAA0B,IAA1B,EAAgCL,aAAhC,CAFI,EAE4C,aAAaN,KAAK,CAACW,aAAN,CAAoB,GAApB,EAAyB,IAAzB,EAA+BJ,WAA/B,CAFzD,CAApB;AAGD,CATD;;AAWAH,eAAe,CAACQ,SAAhB,GAA4B;AAC1BN,EAAAA,aAAa,EAAEL,SAAS,CAACY,IADC;AAE1BN,EAAAA,WAAW,EAAEN,SAAS,CAACY,IAAV,CAAeC,UAFF;AAG1BN,EAAAA,SAAS,EAAEP,SAAS,CAACc,MAHK;AAI1BN,EAAAA,SAAS,EAAER,SAAS,CAACe;AAJK,CAA5B;AAMA,eAAeZ,eAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules } from './utils';\n\nvar CarouselCaption = function CarouselCaption(props) {\n var captionHeader = props.captionHeader,\n captionText = props.captionText,\n cssModule = props.cssModule,\n className = props.className;\n var classes = mapToCssModules(classNames(className, 'carousel-caption', 'd-none', 'd-md-block'), cssModule);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classes\n }, /*#__PURE__*/React.createElement(\"h3\", null, captionHeader), /*#__PURE__*/React.createElement(\"p\", null, captionText));\n};\n\nCarouselCaption.propTypes = {\n captionHeader: PropTypes.node,\n captionText: PropTypes.node.isRequired,\n cssModule: PropTypes.object,\n className: PropTypes.string\n};\nexport default CarouselCaption;"]},"metadata":{},"sourceType":"module"} |