import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconDocumentArrowUpSolid = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-shein-icon customeow-shein-icon-icon-document-arrow-up-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M9.37493 13.0001V4.50898L7.44187 6.44204L6.55798 5.55815L9.99993 2.11621L13.4419 5.55815L12.558 6.44204L10.6249 4.50898V13.0001H9.37493Z"
          fill={color}
        />
        <path
          d="M17.6259 17.6251L17.6259 12.0834L16.3759 12.0834L16.3759 16.3751H3.62403L3.62402 12.0834L2.37402 12.0834L2.37403 17.6251H17.6259Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconDocumentArrowUpSolid.displayName = "IconDocumentArrowUpSolid";

export default IconDocumentArrowUpSolid;
