// 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 SvgNetwork = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.66667 6.66668C2.66667 8.08117 3.22857 9.43772 4.22876 10.4379C5.22896 11.4381 6.58551 12 8 12M2.66667 6.66668C2.66667 5.25219 3.22857 3.89563 4.22876 2.89544C5.22896 1.89525 6.58551 1.33334 8 1.33334C9.41449 1.33334 10.771 1.89525 11.7712 2.89544C12.7714 3.89563 13.3333 5.25219 13.3333 6.66668M2.66667 6.66668H13.3333M8 12C9.41449 12 10.771 11.4381 11.7712 10.4379C12.7714 9.43772 13.3333 8.08117 13.3333 6.66668M8 12V14.6667M7.33333 1.33334L5.66667 6.66668L7.33333 12M8.5 1.33334L10.3333 6.66668L8.5 12M2 14.6667H14"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
