// 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 SvgWindEnergy = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M0.916663 10.8981C1.42005 12.7767 2.6491 14.3785 4.33346 15.3509C6.01781 16.3234 8.01951 16.5869 9.89811 16.0835M9.89831 1.9164C8.01964 1.41302 6.01797 1.67654 4.33362 2.649C2.64927 3.62147 1.42021 5.2232 0.91683 7.10185M13.1857 14.1855C14.561 12.8103 15.3336 10.945 15.3336 9.00007C15.3336 7.05515 14.561 5.18988 13.1857 3.81461M13.1857 14.1855C14.1292 13.242 14.789 12.0679 15.1104 10.7956L9.00024 7.26791C8.04364 6.71562 6.82051 7.04342 6.2682 8C5.71592 8.9566 6.04366 10.1797 7.00024 10.732L13.1104 14.2597C13.1356 14.2351 13.1608 14.2105 13.1857 14.1855ZM7.00031 7.26791L0.890137 10.7956C1.21146 12.0679 1.87132 13.2419 2.81482 14.1855C2.83976 14.2104 2.86487 14.2351 2.89014 14.2597L9.00031 10.732C9.95691 10.1797 10.2846 8.9566 9.73238 8C9.18004 7.04343 7.95691 6.71562 7.00031 7.26791ZM6.00028 9.00007C6.00028 10.1046 6.89571 11.0001 8.00024 11.0001C9.10484 11.0001 10.0002 10.1046 10.0002 9.00007L10.0002 1.94465C9.35518 1.76177 8.68264 1.66667 8.00024 1.66667C7.31784 1.66667 6.64529 1.76177 6.00024 1.94465L6.00028 9.00007Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
