@mobylogix/react-chatbot

0.4.4 • Public • Published

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')
);

Package Sidebar

Install

npm i @mobylogix/react-chatbot

Weekly Downloads

0

Version

0.4.4

License

MIT

Unpacked Size

62.6 kB

Total Files

4

Last publish

Collaborators

  • mobylogikas