// 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 SvgCalculator = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2 7H14M10 4.33333H12M2 1.66667V16.3333H14V1.66667H2ZM4.66667 10.168V9.83187H5.00282V10.168H4.66667ZM11 10.168V9.83187H11.3361V10.168H11ZM7.83193 10.168V9.83187H8.16813V10.168H7.83193ZM4.66667 13.5016V13.1652H5.00304V13.5016H4.66667ZM11 13.5016V13.1652H11.3364V13.5016H11ZM7.8318 13.5016V13.1652H8.16813V13.5016H7.8318Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
