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

function IconWorkflowFreedom500Component(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-workflow_freedom_500${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="M1 14.5v.5h.5v1H0v-1.5h1Zm4 0V16H3v-1.5h2Zm4 0V16H7v-1.5h2Zm4 0V16h-2v-1.5h2Zm3 0V16h-1.5v-1h.5v-.5h1ZM1.5 11v2H0v-2h1.5ZM16 11v2h-1.5v-2H16ZM1.5 7v2H0V7h1.5ZM16 7v2h-1.5V7H16ZM1.5 3v2H0V3h1.5ZM16 3v2h-1.5V3H16ZM1.5 0v1H1v.5H0V0h1.5ZM5 0v1.5H3V0h2Zm4 0v1.5H7V0h2Zm4 0v1.5h-2V0h2Zm3 0v1.5h-1V1h-.5V0H16Z"/></svg>;
}

const IconWorkflowFreedom500 = React.forwardRef(IconWorkflowFreedom500Component);
export default IconWorkflowFreedom500;
