// 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 SvgWhistle = ({
  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="M6.00004 3.33335V0.666687M4.00004 4.00002L2.33337 2.00002M8.00004 4.00002L9.66671 2.00002M10.3334 6.00002H1.33337V10H6.01267C6.0043 10.11 6.00004 10.2212 6.00004 10.3334C6.00004 12.7266 7.94011 14.6667 10.3334 14.6667C12.7266 14.6667 14.6667 12.7266 14.6667 10.3334C14.6667 7.94009 12.7266 6.00002 10.3334 6.00002ZM10 10.6667V10H10.6667V10.6667H10Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
