// 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 SvgFlashConstantLight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.8513 15.4364V16.9844M10.4417 14.0451L9.10107 14.8191M12.8513 8.32404V9.8721M16.6014 10.4891L15.2607 11.2631M10.4417 11.2628L9.10107 10.4888M16.6014 14.8192L15.2607 14.0452M11.5029 7.27973L13.2831 5.28552H9.39613L12.0769 1.6665H6.94991L2.25781 8.9059H6.94996L4.26914 13.7313H5.7437L7.19128 12.1097M12.8513 11.3208C13.5876 11.3208 14.1846 11.9178 14.1846 12.6541C14.1846 13.3905 13.5876 13.9874 12.8513 13.9874C12.1149 13.9874 11.5179 13.3905 11.5179 12.6541C11.5179 11.9178 12.1149 11.3208 12.8513 11.3208Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
