import TripAdvisorIcon from "@/components/Icons/TripAdvisor"
import Caption from "@/components/TempDesignSystem/Text/Caption"

import styles from "./tripAdvisorChip.module.css"

import type { TripAdvisorProps } from "@/types/components/hotelReservation/tripAdvisorProps"

export default function TripAdvisorChip({ rating }: TripAdvisorProps) {
  return (
    <div className={styles.tripAdvisor}>
      <TripAdvisorIcon color="burgundy" />
      <Caption color="burgundy">{rating}</Caption>
    </div>
  )
}
