// 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 SvgAiEditSpark = ({
  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="M0.666504 3.66663C1.99984 3.66663 3.6665 1.99996 3.6665 0.666626C3.6665 1.99996 5.33317 3.66663 6.6665 3.66663C5.33317 3.66663 3.6665 5.33329 3.6665 6.66663C3.6665 5.33329 1.99984 3.66663 0.666504 3.66663Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M6.85877 15.3375L15.0589 7.13743L11.5446 3.62309L3.34444 11.8232L3.34445 15.3375H6.85877Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
