// 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 SvgArrowPointCenter = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10.6667 13.3333L8 10.6667M8 10.6667L5.33333 13.3333M8 10.6667V16M10.6667 2.66667L8 5.33333M8 5.33333L5.33333 2.66667M8 5.33333V0M2.66667 10.6667L5.33333 8M5.33333 8L2.66667 5.33333M5.33333 8H0M13.3333 10.6667L10.6667 8M10.6667 8L13.3333 5.33333M10.6667 8H16"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
