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

export const IconCropSquare1To2 = 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-1-to-2`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <rect x="6" y="1" width="8" height="18" rx="2" fill={color} />
      </svg>
    );
  }
);

IconCropSquare1To2.displayName = "IconCropSquare1To2";

export default IconCropSquare1To2;
