general-assistant
v0.2.12
Published
General Assistant components
Downloads
426
Maintainers
Readme
general-assistant
Reactjs chat elements
Full Documentation todo 用实际的文档地址替代
Install
npm install general-assistant --save
Imports
// RCE CSS
import 'general-assistant/dist/main.css'
// AssistantAi component
import { AssistantAi } from 'general-assistant'
Components
import { AssistantAi } from 'general-assistant';
<AssistantAi
CustomConfig={CustomConfig}
onLoad
/>
AssistantAi props
| prop | default | type | description | | ---------------- | ------- | ---------- | ------------------------------------------------------ | | CustomConfig | none | object | Custom Config | | onLoad | none | function | call on AssistantAi component loaded |
dev
install
npm i
or
yarn
dev
npm run dev-server
or
yarn dev-server
build
npm run build
or
yarn build
prepare
npm run prepare
or
yarn prepare
publish(need auth)
npm publish