// 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 SvgSmokeDetector = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10.9077 16.3334C13.7729 13.885 10.0069 11.9518 10.7715 9.66669M8.4256 8.33335C5.02127 11.2424 10.9787 13.4243 7.5744 16.3334M4.24109 16.3334C7.1062 13.885 3.34025 11.9518 4.10481 9.66669M2 3.66669V1.66669H14V3.66669L11.3333 6.33335H4.66667L2 3.66669Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
