UNPKG

@adminium/ui

Version:

Arco Design React UI Library.

51 lines (46 loc) 1.82 kB
import _extends from "@babel/runtime/helpers/extends"; import React, { useContext } from 'react'; import { IconContext } from '../context'; function IconSoundFillComponent(iconProps, ref) { const _useContext = useContext(IconContext), _useContext$prefixCls = _useContext.prefixCls, prefixCls = _useContext$prefixCls === void 0 ? 'arco' : _useContext$prefixCls; const spin = iconProps.spin, className = iconProps.className; const props = { "aria-hidden": true, focusable: false, ref, ...iconProps, className: `${className ? className + ' ' : ''}${prefixCls}-icon ${prefixCls}-icon-sound-fill` }; if (spin) { props.className = `${props.className} ${prefixCls}-icon-loading`; } delete props.spin; delete props.isIcon; return /*#__PURE__*/React.createElement("svg", _extends({ fill: "none", stroke: "currentColor", strokeWidth: "4", viewBox: "0 0 48 48" }, props), /*#__PURE__*/React.createElement("path", { fill: "currentColor", stroke: "none", d: "m14 15 10-7v32l-10-7H6V15h8Z" }), /*#__PURE__*/React.createElement("path", { fill: "currentColor", stroke: "none", d: "M24.924 6.226A2 2 0 0 1 26 8v32a2 2 0 0 1-3.147 1.639L13.37 35H6a2 2 0 0 1-2-2V15a2 2 0 0 1 2-2h7.37l9.483-6.638a2 2 0 0 1 2.07-.136ZM35.314 35.042c6.248-6.249 6.248-16.38 0-22.628l2.828-2.828c7.81 7.81 7.81 20.474 0 28.284l-2.828-2.828Z" }), /*#__PURE__*/React.createElement("path", { fill: "currentColor", stroke: "none", d: "M29.657 29.728a8 8 0 0 0 0-11.314l2.828-2.828c4.687 4.686 4.687 12.284 0 16.97l-2.828-2.828Z" })); } const IconSoundFill = /*#__PURE__*/React.forwardRef(IconSoundFillComponent); IconSoundFill.defaultProps = { isIcon: true }; IconSoundFill.displayName = 'IconSoundFill'; export default IconSoundFill;