@creadi/tchatche-react
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@creadi/tchatche-react", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Simple chat bot. Supports button and text input responses.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,2 +5,11 @@ # tchatche-react | ||
## Install | ||
```bash | ||
# npm | ||
npm install @creadi/tchatche-react | ||
# yarn | ||
yarn add @creadi/tchatche-react | ||
``` | ||
## Usage | ||
@@ -10,4 +19,4 @@ | ||
import React from 'react' | ||
import Tchatche from 'tchatche-react' | ||
import { BotMessage } from 'tchatche-react/dist/types' | ||
import Tchatche from '@creadi/tchatche-react' | ||
import { BotMessage } from '@creadi/tchatche-react/dist/types' | ||
@@ -25,2 +34,5 @@ const messages: BotMessage[] = [ | ||
Find a more thorough explanation of the structure of `BotMessage` [here](https://www.npmjs.com/package/tchatche) | ||
Find a more thorough explanation of the structure of `BotMessage` [here](https://www.npmjs.com/package/tchatche) | ||
## Release new version | ||
- A release on github will automatically trigger npm publishing. Make sure versions are in sync. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36
34715