// 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 SvgArrowInfiniteLoop = ({
  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="M8 9.66669C7.33333 10.5 6.33333 11.3334 5 11.3334C3.15944 11.3334 1.66667 9.84095 1.66667 8.00002C1.66667 6.15907 3.15944 4.66669 5 4.66669C7.66667 4.66669 9 8.00002 9 8.00002C9 8.00002 10.3333 11.3334 13 11.3334C14.8405 11.3334 16.3333 9.84095 16.3333 8.00002C16.3333 6.15907 14.8405 4.66669 13 4.66669C12.0313 4.66669 11.2386 5.10654 10.6217 5.66669L10.3333 5.33335L11.6667 2.66669"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
