// 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 SvgLocationPinDisabled = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8.83317 8.83332H10.3332V6.16666H7.6665V7.66666M4.14292 4.14308C5.23354 2.64236 7.00274 1.66666 8.99984 1.66666C12.3136 1.66666 14.9998 4.35295 14.9998 7.66666C14.9998 9.36999 13.9118 11.164 12.6624 12.6626M11.105 14.3333C9.95604 15.4495 8.99984 16.1667 8.99984 16.1667C8.99984 16.1667 2.99984 11.6667 2.99984 7.66664C2.99984 7.22104 3.04841 6.78679 3.14056 6.36888M1.47119 1.47134L16.5285 16.5287"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
