// 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 SvgArrowRotateDiagonalLeft = ({
  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 12.2561L4.6897 11.3103C1.81675 8.43741 0.96985 4.62632 2.79809 2.79809C4.62632 0.96985 8.43741 1.81675 11.3103 4.6897C14.1833 7.56261 15.0301 11.3737 13.2019 13.2019C12.0399 14.364 10.0766 14.4453 8.06248 13.6124M5.6355 12.2561L1.85222 12.2562M5.6355 12.2561L5.63544 8.47301"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
