formaviz-chatbot

0.2.2 • Public • Published

ChatBotComponents

Install Project

To install the component chatbot, you need to do this :

npm i formaviz-chatbot

Import and use component

To import the component, do like that :

import Chatbot from 'formaviz-chatbot/dist/bundle';

<Chatbot isAuthenticated={true} position="BottomRight" />

For props : - isAuthenticated : true/false corresponding of user currently connected. - position: have two configuration : BottomLeft and BottomRight. By default, BottomRight is used it.

Then you need to import css like this :

import 'formaviz-chatbot/dist/style.css';

Add this line to html <head></head> :

 <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">

Have fun. Team formaviz.

Readme

Keywords

Package Sidebar

Install

npm i formaviz-chatbot

Weekly Downloads

8

Version

0.2.2

License

MIT

Unpacked Size

495 kB

Total Files

16

Last publish

Collaborators

  • debaerdm