// 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 SvgStopwatchHalf = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M1.33325 10.3334H3.33325M3.28589 5.61922L4.85724 7.19057M3.28589 15.0473L4.85724 13.4759M7.99992 1.66675V5.66675M5.99992 1.66675H9.99992M12.2426 14.5761C11.1173 15.7013 9.59119 16.3334 7.99992 16.3334V4.33341C9.59119 4.33341 11.1173 4.96555 12.2426 6.09078C13.3678 7.216 13.9999 8.74215 13.9999 10.3334C13.9999 11.9247 13.3678 13.4508 12.2426 14.5761Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
