// 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 SvgAiRedoSpark = ({
  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="M1.6665 2.99996V6.33329H4.6665M16.3332 15V11.6666H13.3332M16.3332 8.99996C16.3332 4.94987 13.0499 1.66663 8.99984 1.66663C5.89052 1.66663 3.23318 3.60172 2.16642 6.33329M1.6665 8.99996C1.6665 13.05 4.94975 16.3333 8.99984 16.3333C12.1092 16.3333 14.7665 14.3982 15.8332 11.6666M5.45817 8.99996C7.03224 8.99996 8.99984 7.03237 8.99984 5.45829C8.99984 7.03237 10.9674 8.99996 12.5415 8.99996C10.9674 8.99996 8.99984 10.9676 8.99984 12.5416C8.99984 10.9676 7.03224 8.99996 5.45817 8.99996Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
