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 IconMenuIndicatorsComponent(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-menu-indicators").concat(loadingKls, " ").concat(className), width: width, height: height, xmlns: "http://www.w3.org/2000/svg", fill: useCurrentColor ? 'currentColor' : '#000', viewBox: "0 0 20 20" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", d: "M5.29264 10.8834C5.47832 11.8097 5.93597 12.6596 6.6071 13.3246L4.34286 15.5758C3.22494 14.4672 2.46285 13.0506 2.15393 11.5069C1.84502 9.9632 2.0033 8.36242 2.60856 6.90909C3.84686 3.93745 6.76419 2 9.99958 2C13.2355 2 16.1523 3.93745 17.3906 6.90909C17.9959 8.36242 18.1542 9.9632 17.8452 11.5069C17.5363 13.0506 16.7742 14.4672 15.6563 15.5758L13.3921 13.3246C14.0632 12.6596 14.5208 11.8097 14.7065 10.8834C14.8922 9.95703 14.7975 8.99636 14.4345 8.12412C13.6917 6.34085 11.9414 5.1777 9.99958 5.1777C8.05777 5.1777 6.30746 6.34085 5.56468 8.12412C5.20167 8.99636 5.10696 9.95703 5.29264 10.8834ZM12.6663 17.5981C11.8847 17.8633 11.0663 17.999 10.242 18C9.41777 17.999 8.59934 17.8633 7.81777 17.5981L10.242 10.2424L12.6663 17.5981Z", clipRule: "evenodd" }));
}
var IconMenuIndicators = React.forwardRef(IconMenuIndicatorsComponent);
export default IconMenuIndicators;
