2
0
Files
bot/packages
Denis Ciccale 61fd44f768 ✏️ Fix react README examples (#542)
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>
2023-06-05 08:50:34 +02:00
..
2023-05-25 18:36:51 +02:00
2023-05-25 18:36:51 +02:00
2023-06-05 08:50:34 +02:00
2023-05-25 18:36:51 +02:00
2023-05-25 18:36:51 +02:00
2023-05-25 18:36:51 +02:00
2023-05-25 18:36:51 +02:00
2023-03-15 08:35:16 +01:00