// 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 SvgTicket2 = ({
  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="M11 2V3.83333M11 5.5V7.16667M11 8.83333V10.5M11 12.1667V14M1.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,
    },
  )
