// 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 SvgFireProtectionArea = ({
  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="M2 1.66666V13L7.99993 16.24L14 13V1.66666H2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M7.99987 4H7.91707L5.64306 6.28429C4.34142 7.59184 4.34142 9.7118 5.64306 11.0193C6.94473 12.3269 9.05507 12.3269 10.3567 11.0193C11.4302 9.941 11.6184 8.31 10.9212 7.03796C10.6116 7.30591 10.2086 7.46791 9.76793 7.46791C8.79167 7.46791 8.00027 6.67293 8.00027 5.69227L7.99987 4Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
