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

function IconDataProcessing1Component(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-data_processing_1${loadingKls} ${className}`} width={width} height={height} viewBox="0 0 20 20" fill={useCurrentColor ? 'currentColor' : '#000'} xmlns="http://www.w3.org/2000/svg" {...rest} ref={ref}><path d="M6.65282 7.83225C7.49133 7.78643 8.31222 8.28129 8.61209 9.10237C8.91437 9.93057 8.59611 10.8434 7.91292 11.3451C6.76418 12.4356 6.30632 14.1439 6.88421 15.7264C7.18624 16.5534 7.72679 17.2243 8.39974 17.6897C8.3939 17.6919 8.38756 17.6946 8.38171 17.6967C5.74329 18.6599 2.82331 17.3018 1.85982 14.6637C0.896549 12.0255 2.25454 9.10628 4.89288 8.14277C5.47384 7.93062 6.06846 7.83042 6.65282 7.83225ZM16.6325 9.01923C18.7844 10.8244 19.0658 14.0324 17.2605 16.1842C15.4553 18.3358 12.2476 18.617 10.0956 16.8122C9.62174 16.4148 9.23776 15.9492 8.94765 15.442C8.4894 14.7383 8.5091 13.7807 9.07086 13.1111C9.63764 12.4355 10.5878 12.2547 11.3637 12.5962C12.882 13.047 14.5911 12.5916 15.6739 11.301C16.2398 10.6265 16.551 9.82263 16.6185 9.00721C16.6231 9.0111 16.6278 9.01532 16.6325 9.01923ZM4.82878 5.77682C5.55235 3.06307 8.33908 1.44949 11.0532 2.1728C13.7673 2.89621 15.3816 5.68323 14.6582 8.39719C14.4989 8.99449 14.2393 9.53839 13.9029 10.0159C13.4598 10.729 12.5839 11.1183 11.7393 10.8934C10.8872 10.6663 10.3203 9.88174 10.3009 9.03425C10.066 7.46812 8.92972 6.11359 7.3019 5.67965C6.45107 5.4529 5.59101 5.51039 4.82377 5.79485C4.82531 5.78896 4.82721 5.7827 4.82878 5.77682Z"/></svg>;
}

const IconDataProcessing1 = React.forwardRef(IconDataProcessing1Component);
export default IconDataProcessing1;
