Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 322 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 322 Bytes

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 }