// 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 SvgArrowSplitUp = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M3.33335 2V7C3.33335 9.57733 5.42269 11.6667 8.00002 11.6667M3.33335 2L6.00002 4.66667M3.33335 2L0.666687 4.66667M8.00002 11.6667C10.5774 11.6667 12.6667 9.57733 12.6667 7V2M8.00002 11.6667L8.00002 17M12.6667 2L15.3334 4.66667M12.6667 2L10 4.66667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
