tjtanjin / react-chatbotify

A modern React library for creating flexible and extensible chatbots.
https://react-chatbotify.com
MIT License
167 stars 78 forks source link

feat: allow custom buttons to be rendered in footer #33

Closed mushroomgenie closed 5 months ago

mushroomgenie commented 5 months ago

Description

A new option called buttons is added to the footer options. It renders File Attachment and Emoji Picker by default. Custom buttons can be added in any order to footer by passing the components as an array to the buttons prop. Closes #31

Screenshot 2024-04-15 at 12 23 06 AM Screenshot 2024-04-15 at 12 22 51 AM Screenshot 2024-04-15 at 12 22 30 AM

Please select the relevant option(s).

What change does this PR introduce?

What is the proposed approach?

Please give a short overview/explanation on the approach taken to resolve the issue(s).

Checklist: