// 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 SvgBrowserFavoriteStar = ({
  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="M16.3332 4.66667H1.6665M16.3332 2H1.6665V14H16.3332V2ZM8.99977 7.10093C9.5051 7.97373 10.3519 8.5926 11.3332 8.80633C10.6642 9.55953 10.3408 10.5609 10.4419 11.5659C9.5231 11.1585 8.47644 11.1585 7.55763 11.5659C7.65878 10.5609 7.33533 9.55953 6.66634 8.80633C7.64765 8.5926 8.49444 7.97373 8.99977 7.10093Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
