// 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 SvgLocationHome = ({
  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.33317 12.3333H1.6665V6.66666L6.99984 1.89331L12.3332 6.66666M10.3332 12.0355C10.3332 14.0591 13.3332 16.1823 13.3332 16.1823C13.3332 16.1823 16.3332 14.0591 16.3332 12.0355C16.3332 10.359 14.99 9 13.3332 9C11.6763 9 10.3332 10.359 10.3332 12.0355ZM13.1665 11.8333H13.4998V12.1667H13.1665V11.8333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
