// 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 SvgArrowFitToHeightCircle = ({
  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="M6.00002 10.3334L8.99995 13.3333M8.99995 13.3333L11.9999 10.3334M8.99995 13.3333L8.99995 4.66666M6.00002 7.66658L8.99995 4.66666M8.99995 4.66666L12 7.66667M9.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.18981 14.1855 3.81454C12.8102 2.43928 10.945 1.66666 9.00002 1.66666C7.0551 1.66666 5.18983 2.43928 3.81457 3.81454C2.4393 5.18982 1.66669 7.05508 1.66669 9C1.66669 10.9449 2.4393 12.8102 3.81457 14.1855C5.18984 15.5607 7.0551 16.3333 9.00002 16.3333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
