// 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 SvgUserKingCrown = ({
  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="M2 10.3334C2 13.6471 4.68629 16.3334 8 16.3334C11.3137 16.3334 14 13.6471 14 10.3334M2 10.3334V7.66673M2 10.3334L6.66667 10.3334C8.1394 10.3334 9.33333 9.13943 9.33333 7.66667C9.33333 9.13943 10.5273 10.3334 12 10.3334L14 10.3334M14 10.3334V7.66673M14 7.66673H2M14 7.66673V2.25344L10.6667 4.5001L8 1.92676L5.33333 4.5001L2 2.25344V7.66673"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
