// 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 SvgFlashTimer = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13 11.3332V12.9998H14.6667M7.89593 11.3203L5.7437 13.7313H4.26914L6.94996 8.9059H2.25781L6.94991 1.6665H12.0769L9.39613 5.28552H13.2831L11.0097 7.8323M16.3333 12.9998C16.3333 14.8408 14.8409 16.3332 13 16.3332C11.1591 16.3332 9.66667 14.8408 9.66667 12.9998C9.66667 11.1589 11.1591 9.6665 13 9.6665C14.8409 9.6665 16.3333 11.1589 16.3333 12.9998Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
