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

export const IconArrowDownloadSolid = 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-arrow-download-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M9.37493 3V11.4911L7.44187 9.55806L6.55798 10.4419L9.99993 13.8839L13.4419 10.4419L12.558 9.55806L10.6249 11.4911V3H9.37493Z"
          fill={color}
        />
        <path
          d="M17.6259 17.625L17.6259 12.0833L16.3759 12.0833L16.3759 16.375H3.62403L3.62402 12.0833L2.37402 12.0833L2.37403 17.625H17.6259Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconArrowDownloadSolid.displayName = "IconArrowDownloadSolid";

export default IconArrowDownloadSolid;
