// 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 SvgArrowDiagonalCircle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.99998 7.7574V11.9999M5.99998 11.9999H10.2425M5.99998 11.9999L12 5.99992M7.75749 5.99992H12M12 5.99992V10.2425M1.66669 9C1.66669 10.9449 2.43931 12.8102 3.81457 14.1855C5.18984 15.5607 7.0551 16.3333 9.00002 16.3333C10.945 16.3333 12.8102 15.5607 14.1855 14.1855C15.5608 12.8102 16.3334 10.9449 16.3334 9C16.3334 7.05508 15.5608 5.18982 14.1855 3.81455C12.8102 2.43929 10.945 1.66667 9.00002 1.66667C7.0551 1.66667 5.18984 2.43929 3.81457 3.81455C2.43931 5.18982 1.66669 7.05508 1.66669 9Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
