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

export const IconCropSquare2To3 = 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-crop-square-2-to-3`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <rect
          x="15"
          y="1.5"
          width="17"
          height="10"
          rx="2"
          transform="rotate(90 15 1.5)"
          fill={color}
        />
      </svg>
    );
  }
);

IconCropSquare2To3.displayName = "IconCropSquare2To3";

export default IconCropSquare2To3;
