import { useIntl } from "react-intl" import Caption from "@/components/TempDesignSystem/Text/Caption" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import styles from "./hotelPointsCard.module.css" import type { PointsCardProps } from "@/types/components/hotelReservation/selectHotel/priceCardProps" export default function HotelPointsCard({ productTypePoints, }: PointsCardProps) { const intl = useIntl() return (
{productTypePoints.localPrice.pointsPerStay} {intl.formatMessage({ id: "Points" })} {productTypePoints.localPrice.pricePerStay ? ( <> + {productTypePoints.localPrice.pricePerStay} {productTypePoints.localPrice.currency} ) : null}
) }