// 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 SvgStoreComputer = ({
  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="M2.66667 9.33331V12H13.3333V9.33331M8 12V14.6666M4.66667 14.6666H11.3333M3.33333 1.33331L2 3.99998V5.33331C2 6.43788 2.89543 7.33331 4 7.33331C5.10457 7.33331 6 6.43788 6 5.33331C6 6.43788 6.8954 7.33331 8 7.33331C9.1046 7.33331 10 6.43788 10 5.33331C10 6.43788 10.8954 7.33331 12 7.33331C13.1046 7.33331 14 6.43788 14 5.33331V3.99998L12.6667 1.33331H3.33333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
