// 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 SvgRainChance = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8.33341 8.33341V16.3334H5.00008L5.00006 14.3334M11.4978 16.3334L16.3334 11.4978M8.33341 1.66675C12.0153 1.66675 15.0001 4.65151 15.0001 8.33341H1.66675C1.66675 4.65151 4.65151 1.66675 8.33341 1.66675ZM11.877 12.1485L12.1488 11.8767L12.4206 12.1485L12.1488 12.4203L11.877 12.1485ZM15.4102 15.6817L15.682 15.4099L15.9538 15.6817L15.682 15.9535L15.4102 15.6817Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
