Open cavaco-julianlosada opened 11 months ago
I propose an implementation here: https://github.com/FredrikOseberg/react-chatbot-kit/pull/179
@FredrikOseberg any chance this can be reviewed?
hi @FredrikOseberg Please review this. I think this is very necessary. Thanks!
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?