// 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 SvgOneFingerHold = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.3334 3.33341V4.66675H14.6667M12.3333 17.0001V11.6667L8.33341 9.66675V6.33341C8.33341 5.59703 7.73648 5.00008 7.00008 5.00008H5.66675V12.3334L3.42172 11.5851C2.55834 11.2973 1.66675 11.9399 1.66675 12.85V13.0001L5.00008 16.3334M2.33341 6.33341C2.33341 3.75609 4.42275 1.66675 7.00008 1.66675C7.71581 1.66675 8.39388 1.82787 9.00008 2.11583M16.3334 4.66675C16.3334 6.3236 14.9903 7.66675 13.3334 7.66675C11.6765 7.66675 10.3334 6.3236 10.3334 4.66675C10.3334 3.00989 11.6765 1.66675 13.3334 1.66675C14.9903 1.66675 16.3334 3.00989 16.3334 4.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
