// 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 SvgVisible = ({
  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.00025 2C5.33362 2 4.14705 4.66667 1.81372 8C4.14705 11.3333 5.33362 14 9.00025 14C12.6669 14 13.8536 11.3333 16.1869 8C13.8536 4.66667 12.6669 2 9.00025 2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M10.9999 8C10.9999 9.1046 10.1045 10 8.99992 10C7.89532 10 6.99992 9.1046 6.99992 8C6.99992 6.8954 7.89532 6 8.99992 6C10.1045 6 10.9999 6.8954 10.9999 8Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
