// 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 SvgTicketStar = ({
  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="M9.00012 5.33333L9.97232 6.99993L11.639 7.4166L10.5279 8.6666L10.8057 10.611L9.00012 9.77767L7.19464 10.611L7.4724 8.6666L6.36132 7.4166L8.02792 6.99993L9.00012 5.33333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M1.66666 2H16.3333V6.11381C15.5565 6.38836 15 7.1292 15 8C15 8.8708 15.5565 9.61167 16.3333 9.8862V14H1.66666V9.8862C2.44345 9.61167 2.99999 8.8708 2.99999 8C2.99999 7.1292 2.44345 6.38836 1.66666 6.11381V2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
