// 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 SvgAiGenerateTextSpark = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M1.3335 5.33347L7.93116 5.33333M1.3335 15.3333H14.6668M1.3335 12H14.6668M1.3335 8.66667H14.6668M8.66683 3C10.0002 3 11.6668 1.33333 11.6668 0C11.6668 1.33333 13.3335 3 14.6668 3C13.3335 3 11.6668 4.66667 11.6668 6C11.6668 4.66667 10.0002 3 8.66683 3Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
