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

function IconExcellentArealityComponent(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-excellent-areality${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : '#000'} viewBox="0 0 16 16" {...rest} ref={ref}><path d="M13.716 6.7c-.404-.49-1.065-.49-1.282-.49h-1.742c.141-.762.261-1.647.003-2.582-.178-.643-.503-1.1-.997-1.395a1.549 1.549 0 0 0-.8-.233c-.718 0-1.255.53-1.336 1.32-.03.296-.058.576-.128.816-.264.882-.906 1.555-1.5 2.095-.222.199-.458.555-.461.955a433.79 433.79 0 0 0-.01 3.244l-.001 1.951c-.003.653.346 1.179.928 1.404.307.124.632.193.97.203.537.007 1.077.007 1.583.007h.788c.515 0 1.03 0 1.548.005h.017c.602 0 1.075-.3 1.3-.821l.066-.153c.157-.359.317-.73.417-1.143.305-1.254.622-2.597.878-3.916.102-.523.022-.95-.241-1.267Zm-10.14-.45H3.41A1.41 1.41 0 0 0 2 7.655v4.808a1.41 1.41 0 0 0 1.411 1.406h.165a1.41 1.41 0 0 0 1.41-1.406V7.655a1.41 1.41 0 0 0-1.41-1.406Z"/></svg>;
}

const IconExcellentAreality = React.forwardRef(IconExcellentArealityComponent);
export default IconExcellentAreality;
