1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
|
{"ast":null,"code":"\"use client\";\n\nimport React, { memo } from 'react';\nimport FileTextOutlined from \"@ant-design/icons/es/icons/FileTextOutlined\";\nimport classNames from 'classnames';\nconst FloatButtonContent = props => {\n const {\n icon,\n description,\n prefixCls,\n className\n } = props;\n const defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-icon`\n }, /*#__PURE__*/React.createElement(FileTextOutlined, null));\n return /*#__PURE__*/React.createElement(\"div\", {\n onClick: props.onClick,\n onFocus: props.onFocus,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n className: classNames(className, `${prefixCls}-content`)\n }, icon || description ? ( /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-icon`\n }, icon), description && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-description`\n }, description))) : defaultElement);\n};\nexport default /*#__PURE__*/memo(FloatButtonContent);","map":{"version":3,"names":["React","memo","FileTextOutlined","classNames","FloatButtonContent","props","icon","description","prefixCls","className","defaultElement","createElement","onClick","onFocus","onMouseEnter","onMouseLeave","Fragment"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/float-button/FloatButtonContent.js"],"sourcesContent":["\"use client\";\n\nimport React, { memo } from 'react';\nimport FileTextOutlined from \"@ant-design/icons/es/icons/FileTextOutlined\";\nimport classNames from 'classnames';\nconst FloatButtonContent = props => {\n const {\n icon,\n description,\n prefixCls,\n className\n } = props;\n const defaultElement = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-icon`\n }, /*#__PURE__*/React.createElement(FileTextOutlined, null));\n return /*#__PURE__*/React.createElement(\"div\", {\n onClick: props.onClick,\n onFocus: props.onFocus,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n className: classNames(className, `${prefixCls}-content`)\n }, icon || description ? ( /*#__PURE__*/React.createElement(React.Fragment, null, icon && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-icon`\n }, icon), description && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-description`\n }, description))) : defaultElement);\n};\nexport default /*#__PURE__*/memo(FloatButtonContent);"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,IAAIC,IAAI,QAAQ,OAAO;AACnC,OAAOC,gBAAgB,MAAM,6CAA6C;AAC1E,OAAOC,UAAU,MAAM,YAAY;AACnC,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;EAClC,MAAM;IACJC,IAAI;IACJC,WAAW;IACXC,SAAS;IACTC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,cAAc,GAAG,aAAaV,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC7DF,SAAS,EAAE,GAAGD,SAAS;EACzB,CAAC,EAAE,aAAaR,KAAK,CAACW,aAAa,CAACT,gBAAgB,EAAE,IAAI,CAAC,CAAC;EAC5D,OAAO,aAAaF,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC7CC,OAAO,EAAEP,KAAK,CAACO,OAAO;IACtBC,OAAO,EAAER,KAAK,CAACQ,OAAO;IACtBC,YAAY,EAAET,KAAK,CAACS,YAAY;IAChCC,YAAY,EAAEV,KAAK,CAACU,YAAY;IAChCN,SAAS,EAAEN,UAAU,CAACM,SAAS,EAAE,GAAGD,SAAS,UAAU;EACzD,CAAC,EAAEF,IAAI,IAAIC,WAAW,KAAK,aAAaP,KAAK,CAACW,aAAa,CAACX,KAAK,CAACgB,QAAQ,EAAE,IAAI,EAAEV,IAAI,IAAI,aAAaN,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAChIF,SAAS,EAAE,GAAGD,SAAS;EACzB,CAAC,EAAEF,IAAI,CAAC,EAAEC,WAAW,IAAI,aAAaP,KAAK,CAACW,aAAa,CAAC,KAAK,EAAE;IAC/DF,SAAS,EAAE,GAAGD,SAAS;EACzB,CAAC,EAAED,WAAW,CAAC,CAAC,IAAIG,cAAc,CAAC;AACrC,CAAC;AACD,eAAe,aAAaT,IAAI,CAACG,kBAAkB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|