// 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 SvgDiamond = ({
  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="M1.17029 5.35466L4.4185 1.77312M1.17029 5.35466L6.92557 14.6667H9.07451L14.8298 5.35466M1.17029 5.35466H14.8298M4.4185 1.77312H11.5816M4.4185 1.77312L8.00004 5.35466M11.5816 1.77312L14.8298 5.35466M11.5816 1.77312L8.00004 5.35466M8.00004 5.35466V14.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
