-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Fix example #542
🐛 Fix example #542
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@dciccale is attempting to deploy a commit to the Typebot Team on Vercel. A member of the Team first needs to authorize it. |
Thank you very much for this 🙏
Can you tell me what error was that? |
I've reverted to |
That'd be great if you can create an issue for |
you are correct, I was able to import |
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 <[email protected]>
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