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

function IconPromptMeetingComponent(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_meeting${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.999 1a.6.6 0 0 1 0 1.2 5.8 5.8 0 1 0 5.8 5.8.6.6 0 0 1 1.2 0 7 7 0 1 1-7-7Zm0 3.2a.6.6 0 0 1 0 1.2 2.601 2.601 0 1 0 2.6 2.6.6.6 0 1 1 1.2 0 3.8 3.8 0 1 1-3.8-3.8Zm3.735-3.024a.601.601 0 0 1 1.026.424v1.64h1.638a.6.6 0 0 1 .425 1.023l-1.91 1.92a.6.6 0 0 1-.426.177h-2.002L8.424 8.424a.6.6 0 0 1-.85-.848L9.64 5.51V3.53c0-.159.063-.312.174-.424l1.921-1.93Zm-.896 2.6V5.16h1.4l.716-.72h-.795a.6.6 0 0 1-.6-.6v-.788l-.721.725Z"/></svg>;
}

const IconPromptMeeting = React.forwardRef(IconPromptMeetingComponent);
export default IconPromptMeeting;
