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

function IconImportFileListComponent(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-import-file-list${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}><g fillRule="evenodd" clipRule="evenodd"><path d="M6.02954 7.99996C6.02954 7.66859 6.29817 7.39996 6.62954 7.39996H13.7407C14.072 7.39996 14.3407 7.66859 14.3407 7.99996 14.3407 8.33133 14.072 8.59996 13.7407 8.59996H6.62954C6.29817 8.59996 6.02954 8.33133 6.02954 7.99996zM6.02954 12.1481C6.02954 11.8167 6.29817 11.5481 6.62954 11.5481H13.7407C14.072 11.5481 14.3407 11.8167 14.3407 12.1481 14.3407 12.4795 14.072 12.7481 13.7407 12.7481H6.62954C6.29817 12.7481 6.02954 12.4795 6.02954 12.1481zM6.02954 3.85189C6.02954 3.52052 6.29817 3.25189 6.62954 3.25189H13.7407C14.072 3.25189 14.3407 3.52052 14.3407 3.85189 14.3407 4.18326 14.072 4.45189 13.7407 4.45189H6.62954C6.29817 4.45189 6.02954 4.18326 6.02954 3.85189zM1.72583 3.18521C1.72583 2.70656 2.11385 2.31854 2.5925 2.31854H3.92583C4.40448 2.31854 4.7925 2.70656 4.7925 3.18521V4.51854C4.7925 4.99719 4.40448 5.38521 3.92583 5.38521H2.5925C2.11385 5.38521 1.72583 4.99719 1.72583 4.51854V3.18521zM2.7925 3.38521V4.31854H3.72583V3.38521H2.7925zM1.72583 7.33334C1.72583 6.85469 2.11385 6.46667 2.5925 6.46667H3.92583C4.40448 6.46667 4.7925 6.85469 4.7925 7.33334V8.66667C4.7925 9.14532 4.40448 9.53334 3.92583 9.53334H2.5925C2.11385 9.53334 1.72583 9.14532 1.72583 8.66667V7.33334zM2.7925 7.53334V8.46667H3.72583V7.53334H2.7925zM1.72583 11.4814C1.72583 11.0028 2.11385 10.6147 2.5925 10.6147H3.92583C4.40448 10.6147 4.7925 11.0028 4.7925 11.4814V12.8147C4.7925 13.2934 4.40448 13.6814 3.92583 13.6814H2.5925C2.11385 13.6814 1.72583 13.2934 1.72583 12.8147V11.4814zM2.7925 11.6814V12.6147H3.72583V11.6814H2.7925z"/></g></svg>;
}

const IconImportFileList = React.forwardRef(IconImportFileListComponent);
export default IconImportFileList;
