// 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 SvgMiningHelmet = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.6667 10.3333V6.33333C12.6667 3.38781 10.2789 1 7.33333 1C4.38781 1 2 3.38781 2 6.33333V10.3333M12.6667 10.3333H8.33333V12.3333C8.33333 13.8061 7.1394 15 5.66667 15H1L2 10.3333M12.6667 10.3333L15.3333 11.3333V6L12.6667 7M12.6667 10.3333V7M12.6667 10.3333H2M2 10.3333V7H12.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
