// 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 SvgMedicalCrossSymbol = ({
  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="M6.11941 11.2571V14.6667H9.88031V11.2571L12.8332 12.9619L14.7136 9.7048L11.7608 8L14.7136 6.2952L12.8332 3.03814L9.88031 4.74295V1.33333H6.11941V4.74294L3.1666 3.03814L1.28613 6.29519L4.23895 8L1.28613 9.7048L3.1666 12.9619L6.11941 11.2571Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
