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

export const IconRowCopyOutline = 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-row-copy-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M15.75 14.5C15.75 15.4665 14.9665 16.25 14 16.25H2C1.0335 16.25 0.25 15.4665 0.25 14.5L0.25 9.5C0.25 8.5335 1.0335 7.75 2 7.75L14 7.75C14.9665 7.75 15.75 8.5335 15.75 9.5V14.5ZM14.25 9.5C14.25 9.36193 14.1381 9.25 14 9.25L2 9.25C1.86193 9.25 1.75 9.36193 1.75 9.5L1.75 14.5C1.75 14.6381 1.86193 14.75 2 14.75H14C14.1381 14.75 14.25 14.6381 14.25 14.5V9.5Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
        <path
          d="M19.75 10.5C19.75 11.4665 18.9665 12.25 18 12.25H17.25V10.75H18C18.1381 10.75 18.25 10.6381 18.25 10.5V5.5C18.25 5.36193 18.1381 5.25 18 5.25L6 5.25C5.86193 5.25 5.75 5.36193 5.75 5.5V6.25H4.25V5.5C4.25 4.5335 5.0335 3.75 6 3.75L18 3.75C18.9665 3.75 19.75 4.5335 19.75 5.5V10.5Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconRowCopyOutline.displayName = "IconRowCopyOutline";

export default IconRowCopyOutline;
