// 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 SvgLocationPinMarkHelp = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.33335 7.16666V6.83332C6.33335 5.91285 7.07953 5.16666 8 5.16666C8.92047 5.16666 9.66667 5.91285 9.66667 6.83332V7.16666L8 8.83332V9.83332M8 10.5V11.8333M2 7.66666C2 11.6667 8 16.1667 8 16.1667C8 16.1667 14 11.6667 14 7.66666C14 4.35295 11.3137 1.66666 8 1.66666C4.68629 1.66666 2 4.35295 2 7.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
