Skip to content

Empty Props in BotAvatar Component  #192

Description

@jebberwocky

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.

  1. Create a BotAvatar and assign to botAvatar
    customComponents: { botAvatar: (props) => <BotAvatar {...props} />, },
  2. log the props
    const BotAvatar = (props) => { console.log(props)

props is empty object {}

Questions

  1. 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?
  2. Expected Props: If BotAvatar should receive props, what are the expected properties that can be passed? Are there any examples or documentation available?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions