import { forwardRef, SVGProps } from 'react';

type CopyProps = SVGProps<SVGSVGElement>;

type CopyRef = SVGSVGElement;

export const Copy = forwardRef<CopyRef, CopyProps>((delegated, ref) => {
  return (
    <svg
      ref={ref}
      width="14"
      height="16"
      viewBox="0 0 14 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...delegated}
    >
      <rect x=".5" y="3.5" width="9" height="12" rx="2.5" fill="#EAEBEE" stroke="#80878D" strokeDasharray="3 2" />
      <rect x="4.5" y=".5" width="9" height="12" rx="2.5" fill="#EAEBEE" stroke="#80878D" />
    </svg>
  );
});

Copy.displayName = 'CopyIcon';
