// 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 SvgHeartCross = ({
  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 7.33333H5.33339M8.00006 10V4.66667M7.67539 2.52666L7.99999 2.85124L8.32459 2.52666C9.86726 0.983987 12.3685 0.983987 13.9111 2.52666C15.4538 4.06934 15.4538 6.57051 13.9111 8.1132L7.99999 14.0243L2.08889 8.1132C0.546215 6.57051 0.546216 4.06934 2.0889 2.52666C3.63157 0.983987 6.13274 0.983987 7.67539 2.52666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
