Skip to content

rksp25/react-simple-chatbot

This branch is 237 commits behind LucasBassetti/react-simple-chatbot:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

897714a · May 31, 2017

History

67 Commits
May 29, 2017
May 31, 2017
May 29, 2017
May 29, 2017
Apr 27, 2017
Apr 14, 2017
Apr 24, 2017
Apr 17, 2017
Apr 14, 2017
Apr 17, 2017
May 4, 2017
Apr 18, 2017
Apr 14, 2017
May 29, 2017
May 13, 2017
Apr 19, 2017

Repository files navigation

React Simple Chatbot

Travis CI npm version Codecov

A simple chatbot component to create conversation chats

Getting Start

npm install react-simple-chatbot --save

Usage

There are several examples on the website. Here is the first one to get you started:

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

How to Contribute

Please check the contributing guide

License

MIT · Lucas Bassetti

About

💬 Easy way to create conversation chats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%