// 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 SvgSpa = ({
  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="M1 14H17M11.9845 5.87712C11.8559 4.19825 10.9391 2.66853 9.4988 1.76592L9 1.45337L8.50127 1.76592C7.06095 2.66853 6.14422 4.19825 6.01563 5.87712M9 10.6667C9 7.72114 6.61219 5.33334 3.66667 5.33334H1.66667V6C1.66667 8.94554 4.05448 11.3333 7 11.3333H9M9 10.6667V11.3333M9 10.6667C9 7.72114 11.3878 5.33334 14.3333 5.33334H16.3333V6C16.3333 8.94554 13.9455 11.3333 11 11.3333H9"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
