import { useIntl } from "react-intl" import { Button } from "@scandic-hotels/design-system/Button" import { Typography } from "@scandic-hotels/design-system/Typography" import useRedeemFlow from "./useRedeemFlow" import styles from "./redeem.module.css" export function ConfirmClose({ close }: { close: () => void }) { const intl = useIntl() const { setRedeemStep } = useRedeemFlow() return ( <>

{intl.formatMessage({ id: "redeem.confirmClose.title", defaultMessage: "If you close this your benefit will be removed", })}

{intl.formatMessage({ id: "redeem.confirmClose.question", defaultMessage: "Have you showed this benefit to the hotel staff?", })}

{intl.formatMessage({ id: "redeem.confirmClose.info", defaultMessage: "If not, please go back and do so before you close this. Once you close this your benefit will be void and removed from My Benefits.", })}

) }