// 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 SvgArrowRotateDiagonalRight2 = ({
  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="M10.3645 12.2561L11.3103 11.3103C14.1833 8.43741 15.0301 4.62632 13.2019 2.79809C11.3737 0.96985 7.56258 1.81675 4.68966 4.6897C1.81672 7.56261 0.969818 11.3737 2.79806 13.2019C3.96014 14.364 5.92335 14.4453 7.93752 13.6124M10.3645 12.2561L14.1478 12.2562M10.3645 12.2561L10.3646 8.47301"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
