// 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 SvgKeyboardVirtual = ({
  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="M6.6665 12L8.99984 14.3333L11.3332 12M3.6665 4.00001H5.33317M3.6665 6.66668H5.33317M6.6665 4.00001H8.33317M12.6665 4.00001H14.3332M9.6665 4.00001H11.3332M12.6665 6.66668H14.3332M6.6665 6.66668H11.3332M16.3332 1.33334V9.33334H1.6665V1.33334H16.3332Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
