// 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 SvgArrowRotateDiagonalRight = ({
  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="M5.6355 3.74386L4.6897 4.68967C1.81675 7.56259 0.96985 11.3737 2.79809 13.2019C4.62632 15.0301 8.43741 14.1833 11.3103 11.3103C14.1833 8.43739 15.0301 4.62629 13.2019 2.79805C12.0399 1.63597 10.0766 1.55472 8.06248 2.3876M5.6355 3.74386L1.85222 3.74379M5.6355 3.74386L5.63544 7.52699"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
