text: import { Elements } from "@stripe/react-stripe-js";
  import { loadStripe } from "@stripe/stripe-js";
  import React from "react";
  import PaymentForm from "./PaymentForm";
  
  const PUBLIC_KEY = "pk_test_rgWMA3zxjAtwaB6iV8b5W40x";
  
  const stripeTestPromise = loadStripe(PUBLIC_KEY);
  
  export default function StripeContainer({ email, price, reserveFunc }) {
    return (
      <Elements stripe={stripeTestPromise}>
        <PaymentForm email={email} price={price} reserveFunc={reserveFunc} />
      </Elements>
    );
  }
  