// 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 SvgPrinter = ({
  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.3335 13.3333H1.3335V7.99998H11.3335V13.3333H9.3335M14.6668 5.33331C14.6668 3.12417 12.876 1.33331 10.6668 1.33331M12.3065 5.33331C12.3065 4.42776 11.5724 3.69367 10.6668 3.69367M3.66683 5.99998V3.99998H9.00016V5.99998M4.00016 14.6666H8.66683V11.6666H4.00016V14.6666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
