import React, { ForwardedRef, useContext } from 'react';
import { OriginIconProps } from '../type';
import { Context } from '../context';

function IconJian1Component(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = true, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-jian_1${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 12 12" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M2.41097 1.45551H6.10152V2.59746H2.41097V1.45551ZM7.03312 1.46716H11.5V2.59746H7.03312V1.46716ZM2.38708 0.5L3.72476 0.849577C3.56551 1.24576 3.37441 1.63807 3.15147 2.02648C2.92852 2.4149 2.68965 2.78001 2.43485 3.12182C2.18802 3.45586 1.93322 3.74718 1.67047 3.99576C1.58288 3.91808 1.46743 3.83263 1.3241 3.73941C1.18874 3.64619 1.04542 3.55297 0.894137 3.45975C0.742852 3.36653 0.611473 3.29661 0.5 3.25C0.898118 2.91596 1.26041 2.50424 1.58686 2.01483C1.92128 1.52542 2.18802 1.02048 2.38708 0.5ZM7.2481 0.534958L8.59772 0.837924C8.42255 1.41278 8.18368 1.96822 7.88111 2.50424C7.57854 3.04025 7.26004 3.48694 6.92562 3.84428C6.846 3.7666 6.73453 3.68114 6.5912 3.58792C6.44788 3.4947 6.30058 3.40148 6.14929 3.30826C6.00597 3.21504 5.87857 3.14513 5.7671 3.09852C6.09356 2.78778 6.38816 2.40325 6.65092 1.94492C6.91368 1.48658 7.11274 1.0166 7.2481 0.534958ZM3.06786 2.3411L4.21444 1.89831C4.38961 2.13912 4.5608 2.41102 4.72801 2.71398C4.90318 3.00918 5.03058 3.26942 5.11021 3.4947L3.88002 3.99576C3.81632 3.77825 3.70485 3.51412 3.5456 3.20339C3.38636 2.88489 3.22711 2.59746 3.06786 2.3411ZM8.1797 2.29449L9.33822 1.79343C9.53728 2.04202 9.74032 2.32168 9.94734 2.63242C10.1544 2.94315 10.3096 3.21504 10.4131 3.44809L9.18295 4.00742C9.10333 3.77436 8.96399 3.49859 8.76493 3.18008C8.56587 2.85381 8.37079 2.55862 8.1797 2.29449ZM4.48914 7.58475H7.74973V8.5286H4.48914V7.58475ZM1.19273 5.27754H2.59012V11.5H1.19273V5.27754ZM4.38165 4.05403H10.5326V5.2892H4.38165V4.05403ZM1.81379 4.31038L2.85288 3.62288C3.09971 3.81709 3.35052 4.05014 3.60532 4.32203C3.86012 4.58616 4.05519 4.81921 4.19055 5.02119L3.06786 5.79025C2.95639 5.58051 2.77723 5.33581 2.5304 5.05614C2.29153 4.77648 2.05266 4.5279 1.81379 4.31038ZM9.67264 4.05403H11.082V10.0318C11.082 10.3658 11.0382 10.6222 10.9506 10.8008C10.871 10.9795 10.7157 11.1194 10.4848 11.2203C10.2619 11.3058 9.98317 11.3602 9.64875 11.3835C9.32229 11.4068 8.93612 11.4145 8.49023 11.4068C8.45838 11.2359 8.40264 11.0378 8.32302 10.8125C8.24339 10.5872 8.15979 10.3891 8.0722 10.2182C8.24738 10.226 8.42653 10.2338 8.60966 10.2415C8.80076 10.2493 8.97195 10.2532 9.12324 10.2532C9.27452 10.2454 9.37803 10.2415 9.43377 10.2415C9.52932 10.2415 9.59301 10.226 9.62486 10.1949C9.65671 10.1638 9.67264 10.1095 9.67264 10.0318V4.05403ZM5.13409 6.99047V9.15784H7.16449V6.99047H5.13409ZM3.9278 5.96504H8.43051V10.1833H3.9278V5.96504Z"/></svg>;
}

const IconJian1 = React.forwardRef(IconJian1Component);
export default IconJian1;
