"use client"; import { ModalPortal } from "@/app/_components/core/modal-portal"; import { AppConstants } from "@/core/app_constants"; import type { VipOfferPlanView } from "./subscription-vip-offer-section"; import styles from "./subscription-dialog.module.css"; export interface SubscriptionRenewalConfirmationDialogProps { open: boolean; plan: VipOfferPlanView | null; onCancel: () => void; onConfirm: () => void; } export function SubscriptionRenewalConfirmationDialog({ open, plan, onCancel, onConfirm, }: SubscriptionRenewalConfirmationDialogProps) { return ( {plan ? (

Automatic Renewal Confirmation

You selected the {plan.title} plan for{" "} {plan.price} {plan.currency} . It will renew automatically at the applicable renewal price until you cancel.

By confirming, you agree to the{" "} VIP Membership Benefits Agreement {" "} and{" "} Automatic Renewal Agreement .

) : null}
); }