// 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 SvgRainbow = ({
  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.66675 13.3333V9.33333C1.66675 5.28325 4.94999 2 9.00008 2C13.0501 2 16.3334 5.28325 16.3334 9.33333V13.3333M4.33341 13.3333V9.33333C4.33341 6.756 6.42275 4.66667 9.00008 4.66667C11.5774 4.66667 13.6667 6.756 13.6667 9.33333V13.3333M7.00008 13.3333V9.33333C7.00008 8.22873 7.89548 7.33333 9.00008 7.33333C10.1047 7.33333 11.0001 8.22873 11.0001 9.33333V13.3333"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
