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

function IconPromptInterviewQuestionsComponent(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-prompt_interview-questions${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="M7.19 1a5.987 5.987 0 0 1 5.984 5.826l1.613 2.903a.6.6 0 0 1-.407.88l-1.201.24v1.529c0 .331-.27.6-.6.6h-1.01a.605.605 0 0 1-.1-.008l-1.415-.237-.25 1.751A.6.6 0 0 1 9.21 15H4.157a.6.6 0 0 1-.589-.486l-.64-3.317A5.99 5.99 0 0 1 7.189 1Zm0 1.2a4.79 4.79 0 0 0-3.294 8.267.6.6 0 0 1 .177.322l.58 3.01H8.69l.264-1.843.028-.116a.6.6 0 0 1 .665-.39l1.974.328h.359v-1.42c0-.287.202-.533.482-.59l.878-.175-1.285-2.313a.6.6 0 0 1-.075-.29A4.79 4.79 0 0 0 7.19 2.2Zm0 8.232a.6.6 0 0 1 .6.6v.336a.6.6 0 0 1-1.2 0v-.337a.6.6 0 0 1 .6-.6Zm0-6.4a2.282 2.282 0 0 1 .6 4.484v.494a.6.6 0 0 1-1.201 0V7.999a.6.6 0 0 1 .6-.6 1.085 1.085 0 1 0-1.085-1.084.6.6 0 0 1-1.199 0A2.285 2.285 0 0 1 7.19 4.031Z"/></svg>;
}

const IconPromptInterviewQuestions = React.forwardRef(IconPromptInterviewQuestionsComponent);
export default IconPromptInterviewQuestions;
