@xapp/chat-widget
TypeScript icon, indicating that this package has built-in type declarations

1.76.0 • Public • Published

@xapp/chat-widget

A chat widget used by XAPP AI's OC Studio as a built-in channel.

Install

npm i @xapp/chat-widget redux-thunk redux react-redux --production

Usage

import { ChatWidget } from "@xapp/chat-widget";
import "@xapp/chat-widget/dist/index.css";

function RenderWidget() {
    return <ChatWidget accountKey={"123"} />;
}

Styling

Use theme prop to style widget

const theme: WidgetTheme = {};
return <ChatWidget accountKey={"123"} theme={theme} />;

Readme

Keywords

Package Sidebar

Install

npm i @xapp/chat-widget

Weekly Downloads

121

Version

1.76.0

License

Apache-2.0

Unpacked Size

10 MB

Total Files

333

Last publish

Collaborators

  • michaelmyers
  • chrsdietz
  • xappbot
  • opendog
  • petehaas