// 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 SvgPlaneBoardingPass = ({
  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="M12.3332 6.00005L6.99984 9.33333L5.6665 8M9.6665 10.6667V7.66667M1.6665 2H16.3332V5.41735C15.183 5.71337 14.3332 6.75747 14.3332 8C14.3332 9.24253 15.183 10.2866 16.3332 10.5827V14H1.6665V10.5827C2.81666 10.2866 3.6665 9.24253 3.6665 8C3.6665 6.75747 2.81666 5.71337 1.6665 5.41735V2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
