// 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 SvgArrowCurvyLeftUp = ({
  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="M1.33334 3.33335H12C13.4727 3.33335 14.6667 4.52726 14.6667 6.00002C14.6667 7.47275 13.4727 8.66669 12 8.66669H4C2.52724 8.66669 1.33334 9.86062 1.33334 11.3334C1.33334 12.8061 2.52724 14 4 14H15.3333M1.33334 3.33335L4 6.00002M1.33334 3.33335L4 0.666687"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
