0.43.0 • Published 2 years ago

@airyhq/chat-plugin v0.43.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Airy Chat Plugin

Airy Chat Plugin is an open-source chat widget that is fully customizable and included in Airy Core.

Install

npm install --save @airyhq/chat-plugin

or

yarn add @airyhq/chat-plugin

Usage

First, set up the Airy Chat Plugin as a source to Airy Core to get the channelId. Then, install the package and import the Airy Chat Plugin to a React component. Pass the configuration variables to the AiryChatPlugin wrapper to customize it.

import React from "react";
import {AiryChatPlugin, AiryChatPluginConfiguration} from "@airyhq/chat-plugin";

const Component = () => {
  const config: AiryChatPluginConfiguration = {
    apiHost: ApiHostURL,
    channelId: yourChannelId,
    config: {
      showMode: true,
      headerText: "i am a header text",
      startNewConversationTex: "start new conversation text",
      headerTextColor: "#FF0000",
      primaryColor: "#0000FF",
      accentColor: "#FFA500",
      backgroundColor: "#8510d8",
      bubbleIconUrl: "#FFFF00",
      sendMessageIcon: "https://yourcustomIcon/sent.png"
    }
  };

  return (
    <div className="demoChatPlugin">
      <AiryChatPlugin config={config} />
    </div>
  );
};

License

Apache 2.0 © Airy, Inc.

0.42.0

2 years ago

0.43.0

2 years ago

0.41.0

2 years ago

0.40.0

2 years ago

0.39.0

2 years ago

0.38.1

2 years ago

0.38.0

2 years ago

0.37.0

2 years ago

0.36.1

2 years ago

0.36.0

2 years ago

0.35.1

2 years ago

0.35.0

2 years ago

0.34.0

2 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.1

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.28.1

3 years ago

0.28.0

3 years ago

0.27.1

3 years ago

0.27.0

3 years ago

0.26.3

3 years ago

0.26.2

3 years ago

0.26.1

3 years ago

0.26.0

3 years ago

0.25.0

3 years ago