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

export const IconMinusSquareOutline = 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-minus-square-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M6.75 9.25C6.33579 9.25 6 9.58579 6 10C6 10.4142 6.33579 10.75 6.75 10.75H13.25C13.6642 10.75 14 10.4142 14 10C14 9.58579 13.6642 9.25 13.25 9.25H6.75Z"
          fill={color}
        />
        <path
          d="M5 2.25C3.48122 2.25 2.25 3.48122 2.25 5V15C2.25 16.5188 3.48122 17.75 5 17.75H15C16.5188 17.75 17.75 16.5188 17.75 15V5C17.75 3.48122 16.5188 2.25 15 2.25H5ZM3.75 5C3.75 4.30964 4.30964 3.75 5 3.75H15C15.6904 3.75 16.25 4.30964 16.25 5V15C16.25 15.6904 15.6904 16.25 15 16.25H5C4.30964 16.25 3.75 15.6904 3.75 15V5Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconMinusSquareOutline.displayName = "IconMinusSquareOutline";

export default IconMinusSquareOutline;
