-
Notifications
You must be signed in to change notification settings - Fork 163
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
Payload missing on chatbot custom component #176
Comments
I propose an implementation here: |
@FredrikOseberg any chance this can be reviewed? |
hi @FredrikOseberg Please review this. I think this is very necessary. |
Hi @FredrikOseberg, can you please review this? I agree with everyone else that it's incredibly useful, in my case to integrate this chatbot with react-markdown to parse responses with markdown content. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @FredrikOseberg, I noticed that by trying to setup a payload object with custom information for a bot message (I have a custom component for this) the only props that I receive are "message: string, loader: Comp", I was under the impression that payload should be present as prop here as well
<ConditionallyRender condition={!!customComponents?.botChatMessage} show={callIfExists(customComponents?.botChatMessage, {. message, loader: <Loader />, })}
I saw this on the codebase of the bot message component, Is it intentional or is this a bug?
The text was updated successfully, but these errors were encountered: