// 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 SvgHotelOneStar = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9.0001 7.33333V12M9.0001 7.33333C9.0001 7.96453 8.48516 8.4762 7.8499 8.4762H7.33342M9.0001 7.33333V6.66666M11.0001 12H7.00008M9.04903 2.41711L9.00016 2.33333L8.9513 2.41711C7.48228 4.93541 5.12003 6.80927 2.3335 7.66666C4.20773 9.54093 5.02126 12.2278 4.50144 14.8269L4.3335 15.6667C7.30063 14.3281 10.6997 14.3281 13.6668 15.6667L13.4989 14.8269C12.979 12.2278 13.7926 9.54093 15.6668 7.66666C12.8803 6.80927 10.518 4.93541 9.04903 2.41711Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
