// 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 SvgMagicWandB = ({
  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="M11.6666 2V0M14.9999 5.33333H16.9999M14.0234 7.6904L15.4376 9.10467M7.89512 1.56217L9.30932 2.97639M15.4376 1.5625L14.0234 2.97671M4.33065 14.9999L1.99731 12.6666L8.66399 6L10.9973 8.33333L4.33065 14.9999ZM11.0006 8.33647L8.66399 6.00306L10.9985 3.66699L13.3319 6.00029L11.0006 8.33647Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
