var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconParallelComponent(props, ref) {
    var prefixFromContext = useContext(Context).prefix;
    var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
    var prefix = prefixFromProps || prefixFromContext || 'hiagent';
    var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
    return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-parallel").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 6 6", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { d: "M4.97942 1.92467C5.13563 1.76846 5.38962 1.76846 5.54583 1.92467L5.88469 2.26452C6.0409 2.42073 6.0409 2.67374 5.88469 2.82995L2.83001 5.88561C2.6738 6.04182 2.41981 6.04182 2.2636 5.88561L1.92473 5.54577C1.76852 5.38956 1.76852 5.13655 1.92473 4.98034L4.97942 1.92467ZM3.16887 0.114127C3.3251 -0.0418811 3.57816 -0.0420158 3.7343 0.114127L4.07415 0.45397C4.2299 0.610144 4.23002 0.863304 4.07415 1.0194L1.01848 4.07506C0.862396 4.23106 0.609265 4.23085 0.453052 4.07506L0.113209 3.73522C-0.0429728 3.57904 -0.0429162 3.32601 0.113209 3.16979L3.16887 0.114127Z" }));
}
var IconParallel = React.forwardRef(IconParallelComponent);
export default IconParallel;
