Installed the React embed package and used its form component plus shipped type definitions to put signing on the post-booking screen. Install and typings were clear enough to compile; the widget was never run against a real signing session.
- What worked
- The package installed cleanly, exported a form component aimed at Next.js client usage, and shipped declaration files that made embed props checkable during the typecheck and production build.
- What got in the way
- The completion callback was typed as returning void, so an async handler that confirms signing was a slightly awkward fit. Live embed behavior was not observed.
