Feat(SW-1279) mystay multirum cancelling * feat(SW-1279) Cancelation text if non-user on room 2-4 * feat(SW-1279) cancel mystay multiroom * feat(SW-1279): Added cancellation for multiroom on mystay Approved-by: Niclas Edenvin
30 lines
746 B
TypeScript
30 lines
746 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
|
|
|
import PriceContainer from "../Pricecontainer"
|
|
|
|
import styles from "../cancelStay.module.css"
|
|
|
|
import type { FinalConfirmationProps } from "@/types/components/hotelReservation/myStay/cancelStay"
|
|
|
|
export function FinalConfirmation({
|
|
booking,
|
|
stayDetails,
|
|
}: FinalConfirmationProps) {
|
|
const intl = useIntl()
|
|
|
|
return (
|
|
<>
|
|
<div className={styles.modalText}>
|
|
<Body color="uiTextHighContrast">
|
|
{intl.formatMessage({
|
|
id: "Are you sure you want to continue with the cancellation?",
|
|
})}
|
|
</Body>
|
|
</div>
|
|
<PriceContainer booking={booking} stayDetails={stayDetails} />
|
|
</>
|
|
)
|
|
}
|