// 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 SvgTemperature = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M14.6665 5.33331C14.6665 3.12417 12.8756 1.33331 10.6665 1.33331M12.3062 5.33331C12.3062 4.42776 11.572 3.69367 10.6665 3.69367M5.6665 1.33331C4.74603 1.33331 3.99984 2.07951 3.99984 2.99998V9.17185C3.19584 9.70998 2.6665 10.6265 2.6665 11.6666C2.6665 13.3235 4.00965 14.6666 5.6665 14.6666C7.32337 14.6666 8.6665 13.3235 8.6665 11.6666C8.6665 10.6265 8.13717 9.70998 7.33317 9.17185V2.99998C7.33317 2.07951 6.58698 1.33331 5.6665 1.33331ZM5.49984 11.5H5.83317V11.8333H5.49984V11.5Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
