"use client" import { useState } from "react" import { Button as ButtonRAC } from "react-aria-components" import { useIntl } from "react-intl" import { Button } from "@scandic-hotels/design-system/Button" import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Modal from "@scandic-hotels/design-system/Modal" import { Typography } from "@scandic-hotels/design-system/Typography" import styles from "./guaranteeInfoModal.module.css" export function GuaranteeInfoModal() { const [isOpen, setIsOpen] = useState(false) const intl = useIntl() return ( <> setIsOpen(true)} >

{intl.formatMessage({ id: "myStay.guaranteeInfo.description", defaultMessage: "The hotel will hold your booking, even if you arrive after 18:00. In case of a no-show, you will be charged for the first night.", })}

{intl.formatMessage({ id: "myStay.guaranteeInfoModal.ancillariesInfo", defaultMessage: "If you added extras, they'll be charged in case of a no-show, unless cancelled by 23:59 the night before.", })}

) }