// 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 SvgPin2Disabled = ({
  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="M1.68205 16.3181L6.80473 11.1954M5.5691 5.60051C6.24456 3.33451 8.34422 1.68237 10.8297 1.68237C13.8609 1.68237 16.3183 4.13969 16.3183 7.17096C16.3183 9.67855 14.6367 11.7934 12.3396 12.4492M9.00028 12.3472C7.44064 11.7959 6.20454 10.5598 5.6534 9.00008M8.26828 7.17079C8.26828 5.75621 9.41508 4.60946 10.8297 4.60946M1.47144 1.47144L16.5287 16.5287"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
