# formaviz-chatbot

> ## Install Project

Latest version **0.2.2** (published 2019-03-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install formaviz-chatbot
pnpm add formaviz-chatbot
yarn add formaviz-chatbot
bun add formaviz-chatbot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2019-03-19 |
| First published | 2019-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 482.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | formaviz |
| Maintainers | debaerdm |
| Keywords | BuckleScript |

## Links

- npm: https://www.npmjs.com/package/formaviz-chatbot
- npm.io page: https://npm.io/package/formaviz-chatbot

## Dependencies (13)

- [react](https://npm.io/package/react.md) ^16.8.3
- [helmet](https://npm.io/package/helmet.md) ^3.15.0
- [bs-json](https://npm.io/package/bs-json.md) ^1.0.1
- [express](https://npm.io/package/express.md) ^4.16.4
- [bs-fetch](https://npm.io/package/bs-fetch.md) ^0.3.1
- [bs-webapi](https://npm.io/package/bs-webapi.md) ^0.13.4
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.3
- [compression](https://npm.io/package/compression.md) ^1.7.3
- [react-native](https://npm.io/package/react-native.md) >=0.40.0
- [reason-react](https://npm.io/package/reason-react.md) >=0.4.0
- [@glennsl/bs-json](https://npm.io/package/@glennsl/bs-json.md) ^3.0.0
- [react-native-voice](https://npm.io/package/react-native-voice.md) >=0.2.6
- [react-native-dialogflow](https://npm.io/package/react-native-dialogflow.md) ^3.2.2

## Recent versions

- 0.2.2 (latest) — 2019-03-19
- 0.2.1 — 2019-03-19
- 0.2.0 — 2019-03-19
- 0.1.5 — 2019-03-19
- 0.1.4 — 2019-03-19
- 0.1.3 — 2019-03-17
- 0.1.2 — 2019-03-17
- 0.1.1 — 2019-03-17
- 0.1.0 — 2019-03-17

## README

# ChatBotComponents

## Install Project

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

```sh
npm i formaviz-chatbot
```

## Import and use component

To import the component, do like that :
```js
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 :
```js
import 'formaviz-chatbot/dist/style.css';
```

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

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

Have fun.
Team formaviz.

---
_Source: https://npm.io/package/formaviz-chatbot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
