// 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 SvgArrowRotateHorizontalRight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.66667 12H9.00001C13.0501 12 16.3333 9.91066 16.3333 7.33332C16.3333 4.756 13.0501 2.66666 9.00001 2.66666C4.94992 2.66666 1.66667 4.756 1.66667 7.33332C1.66667 8.97159 2.9932 10.4127 5.00001 11.2453M7.66667 12L10.3333 14.6667M7.66667 12L10.3333 9.33332"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
