// 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 SvgEmergencyCall = ({
  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="M2.28762 10.6301C1.43752 9.1318 0.966155 7.47692 0.873535 5.805L3.827 5.45117L4.86685 9.09066L2.28762 10.6301ZM2.28762 10.6301C2.76698 11.4749 3.36676 12.2699 4.08696 12.9901C4.80717 13.7103 5.60219 14.3101 6.44703 14.7895M6.44703 14.7895C7.9453 15.6395 9.60017 16.1109 11.2721 16.2035L11.6259 13.2501L7.98643 12.2102L6.44703 14.7895ZM13.3331 3.66666V1.66666H10.6664V3.66666H8.66644V6.33333H10.6664V8.33333H13.3331V6.33333H15.3331V3.66666H13.3331Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
