// 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 SvgArrowSplitLeft = ({
  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="M2 12.6667H7C9.57733 12.6667 11.6667 10.5773 11.6667 7.99999M2 12.6667L4.66667 9.99999M2 12.6667L4.66667 15.3333M11.6667 7.99999C11.6667 5.42266 9.57733 3.33332 7 3.33332H2M11.6667 7.99999L17 7.99999M2 3.33332L4.66667 0.666656M2 3.33332L4.66667 5.99999"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
