// 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 SvgArrowRotateDiagonalLeft2 = ({
  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 3.74386L11.3103 4.68967C14.1833 7.56259 15.0301 11.3737 13.2019 13.2019C11.3737 15.0301 7.56258 14.1833 4.68966 11.3103C1.81672 8.43739 0.969818 4.62629 2.79806 2.79805C3.96014 1.63597 5.92335 1.55472 7.93752 2.3876M10.3645 3.74386L14.1478 3.74379M10.3645 3.74386L10.3646 7.52699"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
