// 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 SvgBrokenHeart = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9.00001 4L8.10468 3.1046C7.39741 2.39734 6.43817 2 5.43796 2C3.35518 2 1.66675 3.68845 1.66675 5.77123C1.66675 6.7714 2.06407 7.73067 2.77131 8.43793L9.00001 14.6667L15.2288 8.43787C15.936 7.73067 16.3333 6.77147 16.3333 5.77129C16.3333 3.68849 14.6449 2 12.5621 2C11.5619 2 10.6027 2.39731 9.89555 3.10452L9.00001 4ZM9.00001 4L7.00008 6L9.00008 8L7.00008 10"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
