// 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 SvgSuperscript = ({
  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="M2 7.00008L6 11.6667M6 11.6667L10 16.3334M6 11.6667L10 7.00008M6 11.6667L2 16.3334M14.6667 5.66854H11.3321V4.82729C11.3321 4.59543 11.4694 4.38571 11.6818 4.29278L13.6503 3.43156C13.8627 3.33863 14 3.12891 14 2.89705V2.25015C14 1.92784 13.7387 1.66675 13.4164 1.66675H11.9157C11.5934 1.66675 11.3321 1.92803 11.3321 2.25034V2.66775"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
