// 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 SvgEyeOptic = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8 3C4.89067 3 3.33333 5.66667 1 8.33331C3.33333 11 4.89067 13.6666 8 13.6666C11.1093 13.6666 12.6666 11 14.9999 8.33331C12.6666 5.66667 11.1093 3 8 3Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M6 8.33311C6 8.86354 6.21071 9.37225 6.58579 9.74732C6.96086 10.1224 7.46957 10.3331 8 10.3331C8.53043 10.3331 9.03914 10.1224 9.41421 9.74732C9.78929 9.37225 10 8.86354 10 8.33311C10 7.80267 9.78929 7.29397 9.41421 6.91889C9.03914 6.54382 8.53043 6.33311 8 6.33311C7.46957 6.33311 6.96086 6.54382 6.58579 6.91889C6.21071 7.29397 6 7.80267 6 8.33311Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
