// 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 SvgChessKnight = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M11.3135 13.6667L10.2367 5.77051C9.8778 3.61701 8.45207 2.24841 6.10918 1.82243V3.2581L2.52002 6.12943L3.59677 8.28294L6.4681 7.56509M6.4681 7.56509L4.85297 13.6667M6.4681 7.56509L7.90373 7.20619M2.87972 16.3375L3.77002 13.6667H12.23L13.1203 16.3375H2.87972Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
