// 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 SvgNintendoSwitch = ({
  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="M3.99992 4.66668V6.66668M11.9999 11.3333V9.33334M1.33325 12V4.00001C1.33325 2.52725 2.52716 1.33334 3.99992 1.33334H6.66659V14.6667H3.99992C2.52716 14.6667 1.33325 13.4727 1.33325 12ZM14.6666 4.00001V12C14.6666 13.4727 13.4727 14.6667 11.9999 14.6667H9.33325V1.33334H11.9999C13.4727 1.33334 14.6666 2.52725 14.6666 4.00001Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
