// 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 SvgVpnConnection = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M4.27149 7.30163C5.3639 6.44683 6.682 6.01945 8.00013 6.01946C9.31827 6.01945 10.6364 6.44683 11.7288 7.30163M5.73145 9.04622C6.40181 8.54342 7.201 8.29195 8.00013 8.29195C8.79933 8.29195 9.59847 8.54342 10.2689 9.04622M8 10.0914V11.4248M2 1.66669V13L7.99993 16.24L14 13V1.66669H2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
