You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountering an issue where the BotAvatar component within customComponents of a react-chatbot-kit configuration is receiving an empty object ({}) as props. This behavior seems unexpected.
Create a BotAvatar and assign to botAvatar customComponents: { botAvatar: (props) => <BotAvatar {...props} />, },
log the props const BotAvatar = (props) => { console.log(props)
props is empty object {}
Questions
Intended Behavior: Is it by design that the BotAvatar component doesn't receive any props from the react-chatbot-kit configuration? If so, what is the recommended approach for customizing the bot avatar?
Expected Props: If BotAvatar should receive props, what are the expected properties that can be passed? Are there any examples or documentation available?
The text was updated successfully, but these errors were encountered:
jebberwocky
changed the title
"props" is Empty in BotAvatar
Empty Props in BotAvatar Component
Jul 3, 2024
Encountering an issue where the BotAvatar component within customComponents of a react-chatbot-kit configuration is receiving an empty object ({}) as props. This behavior seems unexpected.
customComponents: { botAvatar: (props) => <BotAvatar {...props} />, },
const BotAvatar = (props) => { console.log(props)
props is empty object
{}
Questions
The text was updated successfully, but these errors were encountered: