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

export const IconSquareWindowOutline = 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-square-window-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M3.25 6C3.25 4.48122 4.48122 3.25 6 3.25H14C15.5188 3.25 16.75 4.48122 16.75 6V14C16.75 15.5188 15.5188 16.75 14 16.75H6C4.48122 16.75 3.25 15.5188 3.25 14V6ZM6 4.75C5.30964 4.75 4.75 5.30964 4.75 6V14C4.75 14.6904 5.30964 15.25 6 15.25H14C14.6904 15.25 15.25 14.6904 15.25 14V6C15.25 5.30964 14.6904 4.75 14 4.75H6Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconSquareWindowOutline.displayName = "IconSquareWindowOutline";

export default IconSquareWindowOutline;
