UNPKG

@adminium/ui

Version:

Arco Design React UI Library.

49 lines (44 loc) 1.69 kB
import _extends from "@babel/runtime/helpers/extends"; import React, { useContext } from 'react'; import { IconContext } from '../context'; function IconChineseFillComponent(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-chinese-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: "M22 21h-5v4.094h5V21ZM26 25.094V21h5v4.094h-5Z" }), /*#__PURE__*/React.createElement("path", { fill: "currentColor", fillRule: "evenodd", stroke: "none", d: "M24 4C12.954 4 4 12.954 4 24s8.954 20 20 20 20-8.954 20-20S35.046 4 24 4Zm2 13v-5h-4v5h-6.5a2.5 2.5 0 0 0-2.5 2.5v7.094a2.5 2.5 0 0 0 2.5 2.5H22V36h4v-6.906h6.5a2.5 2.5 0 0 0 2.5-2.5V19.5a2.5 2.5 0 0 0-2.5-2.5H26Z", clipRule: "evenodd" })); } const IconChineseFill = /*#__PURE__*/React.forwardRef(IconChineseFillComponent); IconChineseFill.defaultProps = { isIcon: true }; IconChineseFill.displayName = 'IconChineseFill'; export default IconChineseFill;