@mobylogix/react-chatbot
v0.4.4
Published
React Chatbot
Downloads
4
Maintainers
Readme
React Chatbot
A chatbot component to create conversation chats
Getting Start
npm install @mobylogix/react-chatbot --save
Usage
import ChatBot from 'react-simple-chatbot';
const steps = [
{
id: '0',
message: 'Welcome to react chatbot!',
trigger: '1',
},
{
id: '1',
message: 'Bye!',
end: true,
},
];
ReactDOM.render(
<div>
<ChatBot steps={steps} />
</div>,
document.getElementById('root')
);