// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-nocheck
import type { VariantProps } from 'class-variance-authority'
import * as React from 'react'
import type { SVGProps } from 'react'
import { iconVariants } from '../../iconVariants'

type Color = VariantProps<typeof iconVariants>['color'] | undefined

export const SvgRepeatSingle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9.66675 5.66668H1.66675V12.6667M9.66675 5.66668L7.00008 3.00001M9.66675 5.66668L7.00008 8.33334M7.66675 12.3333H16.3334V8.00001M7.66675 12.3333L10.3334 15M7.66675 12.3333L10.3334 9.66668M12.4667 1.90522H12.8667C13.5295 1.90522 14.0667 1.36794 14.0667 0.70517V5.50562M15.6667 5.50554H12.4667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
