// 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 SvgDesktopFavoriteStar = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.6665 4.33333H1.6665V13.6667H14.9998V11M8.33317 13.6667V16.3333M4.99984 16.3333H11.6665M12.3332 2.33333L13.4108 4.18346L15.5034 4.63661L14.0768 6.2332L14.2924 8.3634L12.3332 7.5L10.3739 8.3634L10.5896 6.2332L9.16297 4.63661L11.2556 4.18346L12.3332 2.33333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
