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

1.69.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} />;

/@xapp/chat-widget/

    Package Sidebar

    Install

    npm i @xapp/chat-widget

    Weekly Downloads

    60

    Version

    1.69.0

    License

    Apache-2.0

    Unpacked Size

    9.68 MB

    Total Files

    335

    Last publish

    Collaborators

    • petehaas
    • michaelmyers
    • chrsdietz
    • xappbot
    • opendog