// 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 SvgSyringe = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15.3763 10.0679L6.93185 1.62362M15.5061 5.21883L11.7811 1.49382M6.38241 10.6847L3.89293 8.1952M8.73172 8.33527L6.24222 5.84582M11.1539 5.84579L13.6433 3.35633M0.563721 16.4361L2.67285 14.327M8.66465 3.35628L13.6435 8.3352L7.38179 14.597H2.40283V9.61807L8.66465 3.35628Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
