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

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

IconCropSquareVertically.displayName = "IconCropSquareVertically";

export default IconCropSquareVertically;
