// 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 SvgTelescope = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.33341 16.3333L8.65021 10.3759C8.66021 10.3502 8.68488 10.3333 8.71235 10.3333H10.0001L12.3334 16.3333M0.666748 7.39974L4.40934 14M14.6667 6.70986L11.9961 2L5.05751 6.07886L7.72815 10.7887L14.6667 6.70986ZM1.64783 9.12987L5.50259 6.86385L7.28301 10.0037L3.42827 12.2698L1.64783 9.12987Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
