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

export const IconCropSquareHorizontal = 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-horizontal`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <rect
          x="18.5"
          y="4"
          width="12"
          height="17"
          rx="2"
          transform="rotate(90 18.5 4)"
          fill={color}
        />
      </svg>
    );
  }
);

IconCropSquareHorizontal.displayName = "IconCropSquareHorizontal";

export default IconCropSquareHorizontal;
