// 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 SvgArrowCurvyUpRight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.6667 1.33331V12C12.6667 13.4727 11.4727 14.6666 10 14.6666C8.52727 14.6666 7.33333 13.4727 7.33333 12V3.99998C7.33333 2.52722 6.13943 1.33331 4.66667 1.33331C3.19391 1.33331 2 2.52722 2 3.99998V15.3333M12.6667 1.33331L10 3.99998M12.6667 1.33331L15.3333 3.99998"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
