// 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 SvgSettingsBoltNut = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.3334 1.33325H4.66673L1.7334 7.99992L4.66673 14.6666H13.3334L16.2734 7.99992L13.3334 1.33325Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M11.6667 7.99992C11.6667 9.47265 10.4727 10.6666 9 10.6666C7.52724 10.6666 6.33333 9.47265 6.33333 7.99992C6.33333 6.52716 7.52724 5.33325 9 5.33325C10.4727 5.33325 11.6667 6.52716 11.6667 7.99992Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
