// 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 SvgArrowSplitRight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15 3.33332H10C7.42267 3.33332 5.33333 5.42266 5.33333 7.99999M15 3.33332L12.3333 5.99999M15 3.33332L12.3333 0.666656M5.33333 7.99999C5.33333 10.5773 7.42267 12.6667 10 12.6667H15M5.33333 7.99999L0 7.99999M15 12.6667L12.3333 15.3333M15 12.6667L12.3333 9.99999"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
