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

function IconAgentFeedbackIgnoreComponent(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-agent_feedback_ignore${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="M12.467.564A2.633 2.633 0 0 1 15.1 3.197v5.085a.718.718 0 0 1-1.436 0V3.197c0-.661-.536-1.197-1.197-1.197H3.533c-.661 0-1.197.536-1.197 1.197v9.27c0 .661.536 1.197 1.197 1.197h3.749a.718.718 0 0 1 0 1.436h-3.75A2.633 2.633 0 0 1 .9 12.467v-9.27A2.633 2.633 0 0 1 3.533.564h8.934Zm1.21 9.243a.719.719 0 0 1 1.016 1.016l-3.87 3.87a.718.718 0 0 1-1.016-1.016l3.87-3.87Zm-6.395.305a.718.718 0 0 1 0 1.437H4.809a.719.719 0 0 1 0-1.437h2.473Zm3.909-3a.718.718 0 0 1 0 1.436H4.809a.718.718 0 0 1 0-1.436h6.382Zm0-2.792a.718.718 0 0 1 0 1.436H4.809a.718.718 0 0 1 0-1.436h6.382Z"/><path d="M10.823 9.808a.718.718 0 0 0-1.015 1.015l3.87 3.87a.718.718 0 0 0 1.015-1.015l-3.87-3.87Z"/></svg>;
}

const IconAgentFeedbackIgnore = React.forwardRef(IconAgentFeedbackIgnoreComponent);
export default IconAgentFeedbackIgnore;
