// 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 SvgArrowDiagonalUpperRightSquare = ({
  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="M5.99991 6.33325H11.6666M11.6666 6.33325V11.9999M11.6666 6.33325L5.99999 11.9999M1.66666 9C1.66666 10.9449 2.43928 12.8102 3.81454 14.1855C5.18981 15.5607 7.05507 16.3333 8.99999 16.3333C10.9449 16.3333 12.8102 15.5607 14.1855 14.1855C15.5607 12.8102 16.3333 10.9449 16.3333 9C16.3333 7.05508 15.5607 5.18982 14.1855 3.81455C12.8102 2.43929 10.9449 1.66667 8.99999 1.66667C7.05507 1.66667 5.18981 2.43929 3.81454 3.81455C2.43928 5.18982 1.66666 7.05508 1.66666 9Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
