@adminium/ui
Version:
Arco Design React UI Library.
53 lines (48 loc) • 1.72 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import React, { useContext } from 'react';
import { IconContext } from '../context';
function IconArrowRiseComponent(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-arrow-rise`
};
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", {
d: "M23.992 6.01a.01.01 0 0 1 .016 0l9.978 11.974a.01.01 0 0 1-.007.016H14.02a.01.01 0 0 1-.007-.016l9.978-11.975Z"
}), /*#__PURE__*/React.createElement("path", {
fill: "currentColor",
stroke: "none",
d: "m24 6 10 12H14L24 6Z"
}), /*#__PURE__*/React.createElement("path", {
d: "M26 42H30V68H26z",
transform: "rotate(-180 26 42)"
}), /*#__PURE__*/React.createElement("path", {
fill: "currentColor",
stroke: "none",
d: "M26 42H30V68H26z",
transform: "rotate(-180 26 42)"
}));
}
const IconArrowRise = /*#__PURE__*/React.forwardRef(IconArrowRiseComponent);
IconArrowRise.defaultProps = {
isIcon: true
};
IconArrowRise.displayName = 'IconArrowRise';
export default IconArrowRise;