// 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 SvgBrokenLink = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M11.6667 6.33333L6.33333 11.6667M7.66667 5.66667L11.3333 2L16 6.66667L12.3333 10.3333M10.3333 12.3333L6.66667 16L2 11.3333L5.66667 7.66667M3.33333 3.33333L4.66667 4.66667M6.66667 2V3.66667M2 6.66667H3.66667M14.6667 14.6667L13.3333 13.3333M11.3333 16V14.3333M16 11.3333H14.3333"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
