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

function IconAgentproFollowComponent(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-agentpro-follow${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 fillRule="evenodd" d="M7.409 13.435a.604.604 0 0 1-.009-.102V12a.6.6 0 1 1 1.2 0v1.333a.604.604 0 0 1-.009.102 5.469 5.469 0 0 0 4.844-4.844.604.604 0 0 1-.102.009H12a.6.6 0 1 1 0-1.2h1.333a.57.57 0 0 1 .102.009 5.469 5.469 0 0 0-4.844-4.844.604.604 0 0 1 .009.102V4a.6.6 0 0 1-1.2 0V2.667c0-.035.003-.07.009-.102a5.469 5.469 0 0 0-4.844 4.844.604.604 0 0 1 .102-.01H4a.6.6 0 0 1 0 1.2H2.667a.605.605 0 0 1-.102-.008 5.469 5.469 0 0 0 4.844 4.844ZM14.667 8A6.667 6.667 0 1 1 1.333 8a6.667 6.667 0 0 1 13.334 0ZM8 6.667a1.333 1.333 0 1 1 0 2.666 1.333 1.333 0 0 1 0-2.666Z" clipRule="evenodd"/></svg>;
}

const IconAgentproFollow = React.forwardRef(IconAgentproFollowComponent);
export default IconAgentproFollow;
