// 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 SvgShareLocation = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.33316 12H8.54617C8.62597 12 8.70524 11.988 8.7815 11.9646L12.75 10.7435C12.9156 10.6926 13.088 10.6666 13.2612 10.6666C14.2214 10.6666 14.9998 11.445 14.9998 12.4052V12.6666L8.6665 14.6666H1.1665M8.6665 12V9.99998L4.21838 9.04678C4.07309 9.01565 3.92491 8.99998 3.77632 8.99998C2.6111 8.99998 1.6665 9.94458 1.6665 11.1098V11.3333M10.3332 4.36876C10.3332 6.39239 13.3332 8.51558 13.3332 8.51558C13.3332 8.51558 16.3332 6.39239 16.3332 4.36876C16.3332 2.69233 14.99 1.33331 13.3332 1.33331C11.6763 1.33331 10.3332 2.69233 10.3332 4.36876ZM13.1665 4.16665H13.4998V4.49998H13.1665V4.16665Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
