// 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 SvgStool = ({
  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="M5.18549 4.89583L1.80792 14.6273M10.8144 4.89583L14.192 14.6273M7.99998 4.89583V14.6273M3.37498 10.0516H12.5937M1.33331 3.22917C1.33331 2.30869 2.07951 1.5625 2.99998 1.5625H13C13.9204 1.5625 14.6666 2.30869 14.6666 3.22917C14.6666 4.14964 13.9204 4.89583 13 4.89583H2.99998C2.07951 4.89583 1.33331 4.14964 1.33331 3.22917Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
