// 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 SvgLightbulb = ({
  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="M4.66667 7.66675C4.66667 5.8258 6.15905 4.33341 8 4.33341M6 16.3334H10M8 1.66675C4.68629 1.66675 2 4.35304 2 7.66675C2 10.0225 3.35771 12.0613 5.33333 13.0431V14.0001H10.6667V13.0431C12.6423 12.0613 14 10.0225 14 7.66675C14 4.35304 11.3137 1.66675 8 1.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
