SurfaceFormScript() component that we created in Step 2 to the app/layout.tsx file:
surface-form-button className to the element you want to use to trigger the form.
Embed a Surface Form popup
SurfaceFormScript() component that we created in Step 2 to the app/layout.tsx file:
surface-form-button className to the element you want to use to trigger the form.