@live-casino-games/chat

0.5.70 • Public • Published

React live-casino-chat-games App.

Below you will find some information on how to perform common tasks.

Table of Contents

Installation

npm i -S @live-casino-games/chat

Usage

import ChatGames from "@live-casino-games/chat";

Props

import ChatGames from "@live-casino-games/chat";

export default () => (
  <ChatGames
    variables={{
      lang: "en",
      token: "A9-06-6F-39-48-E5-DA-F1-20-09-86-C0-2A-8C-17-5E",
      chatURL: "https://chat.xpgtesting.com/",
      isFullScreen: true,
      removeFocus: false,
      mobile: true,
      dealerName: "Dealer",
      takeMsg: 40,
      isBanned: false,
      isChatEnable: false
    }}
    onCloseTab={() => {}}
    onFocusChat={(focus: boolean) => {}}
    onEnableChat={(enable: boolean) => {}}
  />
);

Theme configuration

const theme = {
  dealerTopBar: {},
  container: {},
  form: {
    active: {},
    disable: {},
    sendBtn: {},
    emojiBtn: {}
  },
  list: {
    msg: {
      currentUser: {},
      otherUsers: {},
      dealer: {}
    }
  },
  btnEnableChat: {},
  notifMsg: {},
  systemMsg: {}
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.70
    0
    • latest

Version History

Package Sidebar

Install

npm i @live-casino-games/chat

Weekly Downloads

7

Version

0.5.70

License

MIT

Unpacked Size

339 kB

Total Files

84

Last publish

Collaborators

  • mbudeci
  • lc-ci-npm