// 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 SvgPartyPopper = ({
  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="M0.399918 2.61858H1.87896M4.20326 0.39975C3.88658 1.90277 4.15949 3.50518 5.02199 4.83688M7.90008 3.86675C6.96155 2.92827 6.78555 1.51607 7.37188 0.399842M3.84375 7.66814C2.91172 6.73607 1.51246 6.55603 0.399902 7.12794M8.53468 12.7213V5.94642M11.8625 6.91927V14.4739M10.3725 4.09762L4.09751 10.3727L12.9871 15.0789L15.0788 12.9873L10.3725 4.09762Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
