Skip to content

maverickamit/chat-bubble-sdk

Repository files navigation

Demo is live at https://chat-bubble-sdk.vercel.app/

Use ChatBubble component which acccepts two props

  1. Messages: An array of message objects

  2. onSubmit: The function which runs after user submits a message

Each message object has the structure as

{ text: The message text, sender: It can be either user or agent }