// 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 SvgDesktopGame = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.99984 4.33334H1.6665V13.6667H14.9998V9M8.33317 13.6667V16.3333M4.99984 16.3333H11.6665M8.85384 5.50129L9.33317 1.66667H15.6665L16.1458 5.50129C16.2453 6.2971 15.6248 7.00001 14.8228 7.00001H14.3332L13.3332 5.33334H11.6665L10.6665 7.00001H10.1769C9.3749 7.00001 8.75437 6.2971 8.85384 5.50129Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
