// 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 SvgTableLamp = ({
  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="M9.16985 2.49747L14.3333 9.00015L7.33325 16.3335M1.33325 16.3334H14.6666M9.50665 4.73324L7.66658 9.33341L1.99992 3.66675L6.6001 1.82667C6.86419 1.72103 7.14605 1.66675 7.43052 1.66675C8.66545 1.66675 9.66658 2.66786 9.66658 3.90279C9.66658 4.18726 9.61232 4.46911 9.50665 4.73324Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
