// 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 SvgBridge = ({
  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="M1 2H17M11.6667 10.6667V7.33333C11.6667 5.86057 10.4727 4.66667 9 4.66667C7.52724 4.66667 6.33333 5.86057 6.33333 7.33333V10.6667M3.66667 10.6667V7.33333C3.66667 5.86057 2.47276 4.66667 1 4.66667M14.3333 10.6667V7.33333C14.3333 5.86057 15.5273 4.66667 17 4.66667M1.66667 12.1667C1.66667 13.1792 2.48748 14 3.5 14C4.51252 14 5.33333 13.1792 5.33333 12.1667C5.33333 13.1792 6.15415 14 7.16667 14C8.1792 14 9 13.1792 9 12.1667C9 13.1792 9.8208 14 10.8333 14C11.8459 14 12.6667 13.1792 12.6667 12.1667C12.6667 13.1792 13.4875 14 14.5 14C15.5125 14 16.3333 13.1792 16.3333 12.1667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
