// 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 SvgClimateAction = ({
  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.16802 8.33333C4.05834 7.9072 4 7.4604 4 7C4 4.05448 6.38781 1.66666 9.33333 1.66666C12.2789 1.66666 14.6667 4.05448 14.6667 7C14.6667 9.48513 12.967 11.5733 10.6667 12.1653M14.279 8.99993H12.6667C11.9303 8.99993 11.3333 8.403 11.3333 7.66661V5.66661L9.33333 5.66662C8.59693 5.66662 8 5.06966 8 4.33328V1.83463M4.99997 10.3333C3.33333 10.3333 2.29871 11.6667 1 13.3333C2.29871 15 3.33333 16.3333 4.99997 16.3333C6.66661 16.3333 7.70127 15 9 13.3333C7.70127 11.6667 6.66661 10.3333 4.99997 10.3333ZM5.00074 13.6681C4.81623 13.6681 4.66667 13.5186 4.66667 13.3341C4.66667 13.1496 4.81623 13 5.00074 13C5.18524 13 5.33431 13.1495 5.33431 13.3341C5.33431 13.5185 5.18524 13.6681 5.00074 13.6681Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
