// 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 SvgSpadesSymbol = ({
  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="M2.41465 8.10869L8.00004 1.66669L13.5854 8.10869C14.5588 9.34755 14.3702 11.136 13.1598 12.1446L12.973 12.3003C12.0188 13.0955 10.6366 13.1094 9.66671 12.3334L10 14.6667H6.00002L6.33335 12.3334C5.36338 13.1094 3.98128 13.0955 3.02702 12.3003L2.84017 12.1446C1.62981 11.136 1.44125 9.34755 2.41465 8.10869Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
