// 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 SvgStarMedal2 = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.33325 7.66675L3.33325 5.00008V1.66675H12.6666V5.00008L10.6666 7.66675M7.99992 1.66675V7.00008M7.99992 7.00008C7.38708 7.00008 6.78025 7.12079 6.21406 7.35531C5.64788 7.58983 5.13343 7.93358 4.70009 8.36692C4.26675 8.80026 3.923 9.31471 3.68848 9.88089C3.45396 10.4471 3.33325 11.0539 3.33325 11.6667C3.33325 12.2796 3.45396 12.8864 3.68848 13.4526C3.923 14.0188 4.26675 14.5332 4.70009 14.9666C5.13343 15.3999 5.64788 15.7437 6.21406 15.9782C6.78025 16.2127 7.38708 16.3334 7.99992 16.3334C8.61275 16.3334 9.21959 16.2127 9.78577 15.9782C10.352 15.7437 10.8664 15.3999 11.2997 14.9666C11.7331 14.5332 12.0768 14.0188 12.3114 13.4526C12.5459 12.8864 12.6666 12.2796 12.6666 11.6667C12.6666 11.0539 12.5459 10.4471 12.3114 9.88089C12.0768 9.31471 11.7331 8.80026 11.2997 8.36692C10.8664 7.93358 10.352 7.58983 9.78577 7.35531C9.21959 7.12079 8.61275 7.00008 7.99992 7.00008ZM8.34992 11.2667L7.99992 10.6667L7.64992 11.2667L6.99992 11.4667L7.44992 11.9167L7.29992 12.6667L7.99992 12.3509L8.69992 12.6667L8.54992 11.9167L8.99992 11.4667L8.34992 11.2667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
