// 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 SvgArrowElipseRight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15 9.00002H6M15 9.00002L11 13M15 9.00002L11 5.00002M0 9.00002H4M4 9.00002C4 7.0551 4.21071 5.18984 4.58579 3.81457C4.96086 2.43931 5.46957 1.66669 6 1.66669C6.53043 1.66669 7.03913 2.43931 7.4142 3.81457C7.65767 4.70732 7.83193 5.80655 7.9242 7.00002M4 9.00002C4 10.945 4.21071 12.8102 4.58579 14.1855C4.96086 15.5608 5.46957 16.3334 6 16.3334C6.53043 16.3334 7.03913 15.5608 7.4142 14.1855C7.65767 13.2927 7.83193 12.1935 7.9242 11"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
