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

export const IconEnvelopeDoubleSolid = 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-icon customeow-icon-icon-envelope-double-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M2.5 6C1.39543 6 0.5 6.89543 0.5 8L0.5 8.16147L7.94098 12.382C8.29289 12.5579 8.70711 12.5579 9.05902 12.382L16.5 8.16147V8C16.5 6.89543 15.6046 6 14.5 6H2.5Z"
          fill={color}
        />
        <path
          d="M16.5 9.83853L9.72984 13.7236C8.95564 14.1107 8.04436 14.1107 7.27016 13.7236L0.5 9.83853V15C0.5 16.1046 1.39543 17 2.5 17H14.5C15.6046 17 16.5 16.1046 16.5 15V9.83853Z"
          fill={color}
        />
        <path
          d="M4.56299 4.5H16.5C17.3284 4.5 18 5.17157 18 6V12.937C18.8626 12.715 19.5 11.9319 19.5 11V5C19.5 3.89543 18.6045 3 17.5 3H6.49998C5.56806 3 4.78501 3.63739 4.56299 4.5Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconEnvelopeDoubleSolid.displayName = "IconEnvelopeDoubleSolid";

export default IconEnvelopeDoubleSolid;
