// 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 SvgGraduationCap = ({
  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="M5.6665 6.33333L5.67376 9.92247L9.6669 12L13.6665 9.92247L13.6658 6.33333M2.99984 10V5.33333M2.99984 10L1.6665 11.4545V12.2121L2.99984 13.6667L4.33317 12.2121V11.4545L2.99984 10ZM9.6665 2L2.99984 4.77851V5.22149L9.6665 8L16.3332 5.22149V4.77851L9.6665 2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
