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

export const IconToolTextSquareOutline = 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-tool-text-square-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M12.9005 5.83759C13.487 5.83778 13.5998 6.1513 13.5998 6.53778V7.43915C13.5997 7.8256 13.287 8.13915 12.9005 8.13934C12.514 8.13934 12.2004 7.82572 12.2003 7.43915V7.23798H10.6625V12.8157H11.4005C11.787 12.8158 12.1006 13.1294 12.1007 13.5159C12.1007 13.9025 11.9871 14.2161 11.4005 14.2161H8.52398C7.93738 14.2161 7.62378 13.9025 7.82378 13.5159C7.62391 13.1294 7.93745 12.8157 8.52398 12.8157H9.26206V7.23798H7.72417V7.43915C7.72414 7.82565 7.41046 8.13924 7.02398 8.13934C6.6374 8.13934 6.32381 7.82572 6.32378 7.43915V6.53778C6.32378 6.15118 6.63738 5.83759 7.02398 5.83759H12.9005Z"
          fill={color}
        />
        <path
          d="M15.4738 1.93719C17.1234 1.93719 18.0986 3.11262 18.0988 4.56219V15.4378C18.0986 17.0874 17.1234 18.0628 15.4738 18.0628H4.54839C2.89889 18.0626 1.72352 17.0873 1.92339 15.4378V4.56219C1.72359 3.11274 3.09893 1.93739 4.54839 1.93719H15.4738ZM4.54839 3.43719C3.92736 3.43739 3.22359 3.94116 3.42339 4.56219V15.4378C3.22352 16.2589 3.72732 16.5626 4.54839 16.5628H15.4738C16.295 16.5628 16.5986 16.259 16.5988 15.4378V4.56219C16.5986 3.94104 16.295 3.43719 15.4738 3.43719H4.54839Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconToolTextSquareOutline.displayName = "IconToolTextSquareOutline";

export default IconToolTextSquareOutline;
