import React from 'react';

interface IProp {
  size?: number;
}

const CopyIcon: React.FC<IProp> = ({ size }) => {
  return (
    <svg
      width={size || '20'}
      height={size || '20'}
      viewBox="0 0 20 20"
      fill="none"
      xmlns="http://www.w3.org/2000/svg">
      <path
        d="M9.25002 18.9587H5.75002C2.49169 18.9587 1.04169 17.5087 1.04169 14.2503V10.7503C1.04169 7.49199 2.49169 6.04199 5.75002 6.04199H9.25002C12.5084 6.04199 13.9584 7.49199 13.9584 10.7503V14.2503C13.9584 17.5087 12.5084 18.9587 9.25002 18.9587ZM5.75002 7.29199C3.16669 7.29199 2.29169 8.16699 2.29169 10.7503V14.2503C2.29169 16.8337 3.16669 17.7087 5.75002 17.7087H9.25002C11.8334 17.7087 12.7084 16.8337 12.7084 14.2503V10.7503C12.7084 8.16699 11.8334 7.29199 9.25002 7.29199H5.75002Z"
        fill="#6B7280"
      />
      <path
        d="M14.25 13.9587H13.3334C12.9917 13.9587 12.7084 13.6753 12.7084 13.3337V10.7503C12.7084 8.16699 11.8334 7.29199 9.25002 7.29199H6.66669C6.32502 7.29199 6.04169 7.00866 6.04169 6.66699V5.75033C6.04169 2.49199 7.49169 1.04199 10.75 1.04199H14.25C17.5084 1.04199 18.9584 2.49199 18.9584 5.75033V9.25033C18.9584 12.5087 17.5084 13.9587 14.25 13.9587ZM13.9584 12.7087H14.25C16.8334 12.7087 17.7084 11.8337 17.7084 9.25033V5.75033C17.7084 3.16699 16.8334 2.29199 14.25 2.29199H10.75C8.16669 2.29199 7.29169 3.16699 7.29169 5.75033V6.04199H9.25002C12.5084 6.04199 13.9584 7.49199 13.9584 10.7503V12.7087Z"
        fill="#6B7280"
      />
    </svg>
  );
};

export default CopyIcon;
