// 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 SvgWindmill = ({
  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="M11.9867 13.3952L13.3333 16.3334H2.66667L4.01335 13.3952M2 4.99999L6.66667 6.99999L7.33333 6.33332L5.33333 1.66666C3.49239 1.66666 2 3.15904 2 4.99999ZM14 4.99999L9.33333 6.99999L8.66667 6.33332L10.6667 1.66666C12.5076 1.66666 14 3.15904 14 4.99999ZM2 10.3333L6.66667 8.33332L7.33333 8.99999L5.33333 13.6667C3.49239 13.6667 2 12.1743 2 10.3333ZM14 10.3333L9.33333 8.33332L8.66667 8.99999L10.6667 13.6667C12.5076 13.6667 14 12.1743 14 10.3333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
