// 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 SvgRing = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8 6.33332C9.32608 6.33332 10.5979 6.86011 11.5355 7.79779C12.4732 8.73547 13 10.0072 13 11.3333C13 12.6594 12.4732 13.9312 11.5355 14.8689C10.5979 15.8065 9.32608 16.3333 8 16.3333C6.67392 16.3333 5.40215 15.8065 4.46447 14.8689C3.52678 13.9312 3 12.6594 3 11.3333C3 10.0072 3.52678 8.73547 4.46447 7.79779C5.40215 6.86011 6.67392 6.33332 8 6.33332ZM8 6.33332L4.66667 3.33332L6.33333 1.66666H9.66667L11.3333 3.33332L8 6.33332Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
