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

function IconVerticalBarChartNodataComponent(props: OriginIconProps, ref: ForwardedRef<SVGSVGElement>) {
    const { prefix: prefixFromContext } = useContext(Context);
    const { className = '', prefix: prefixFromProps, width = '1em', height = '1em', useCurrentColor = false, spin, ...rest } = props;

    const prefix = prefixFromProps || prefixFromContext || 'hiagent';
    const loadingKls = spin ? ` ${prefix}-icon-loading` : '';
    return <svg className={`${prefix}-icon ${prefix}-icon-vertical-bar-chart-nodata${loadingKls} ${className}`} width={width} height={height} xmlns="http://www.w3.org/2000/svg" fill={useCurrentColor ? 'currentColor' : 'none'} viewBox="0 0 100 100" {...rest} ref={ref}><path fill={useCurrentColor ? 'currentColor' : '#EAEDF1'} d="M91 82.94H75V41.721a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v41.217Z" opacity=".6"/><path fill={useCurrentColor ? 'currentColor' : '#DDE2E9'} d="M53 20.058a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2V82.94H53V20.057Z"/><path fill={useCurrentColor ? 'currentColor' : '#EAEDF1'} d="M47 82.94H31V31.674a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v51.264Z" opacity=".6"/><path fill={useCurrentColor ? 'currentColor' : '#DDE2E9'} d="M25 82.94H9V59.537a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v23.401Z" opacity=".6"/></svg>;
}

const IconVerticalBarChartNodata = React.forwardRef(IconVerticalBarChartNodataComponent);
export default IconVerticalBarChartNodata;
