import { Dialog, Transition } from '@headlessui/react'; import { Fragment } from 'react'; type PaymentModalProperties = { open: boolean; setPayment: (argument0: boolean) => void; }; const PaymentModal = ({ open, setPayment, }: PaymentModalProperties): JSX.Element => { function closeModal() { setPayment(false); } return ( <>
{/* This element is to trick the browser into centering the modal contents. */}
Payment successful 🎉

Your payment has been successfully submitted. Thank you for your support!

); }; export default PaymentModal;