// 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 SvgPinwheel = ({
  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="M9.00008 9.00008V1.66675C11.2092 1.66675 13.0001 3.45761 13.0001 5.66675V9.00008H9.00008ZM9.00008 9.00008H16.3334C16.3334 11.2092 14.5425 13.0001 12.3334 13.0001H9.00008V9.00008ZM9.00008 9.00008V16.3334C6.79094 16.3334 5.00008 14.5425 5.00008 12.3334V9.00008H9.00008ZM9.00008 9.00008H1.66675C1.66675 6.79094 3.45761 5.00008 5.66675 5.00008H9.00008V9.00008Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
