// 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 SvgAddressField = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M16.3332 7V2H1.6665V10H8.33317M4.33317 4V8M10.3332 11.0355C10.3332 13.0591 13.3332 15.1823 13.3332 15.1823C13.3332 15.1823 16.3332 13.0591 16.3332 11.0355C16.3332 9.359 14.99 8 13.3332 8C11.6763 8 10.3332 9.359 10.3332 11.0355ZM13.1665 10.8333H13.4998V11.1667H13.1665V10.8333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
