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, redemptionPrice, }: PointsCardProps) { const intl = useIntl() const pointsPerStay = productTypePoints?.localPrice.pricePerStay ?? redemptionPrice return (