mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
open, close and toggle are apparently exported from @typebot.io/js package or at least that's what worked for me, I was getting unknown function error when trying to import them from @typebot/react aslo in order for Typebot.showPreviewMessage() and Typebot.hidePreviewMessage() to work, I need to import all exports as Typebot, otherwise it didn't seem to have the named exports "showPreviewMessage" nor "hidePreviewMessage", since I was also getting an error when trying to import them. this is my first PR here, I apologise for mistakes upfront. It's ok if it is not meged, I just wanted to catch your attention on this potential update required in the documentation of react embed --------- Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr> |
||
|---|---|---|
| .. | ||
| js | ||
| react | ||
| wordpress | ||