0.1.0 • Published 1 year ago

@flexcodelabs/sarufi-chatbox v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@flexcodelabs/sarufi-chatbox

npm NPM

Package Name

Features

  • List of features

Installation

npm install @flexcodelabs/sarufi-chatbox

or

yarn add @flexcodelabs/sarufi-chatbox

Usage

...
import SarufiChatbox from '@flexcodelabs/sarufi-chatbox';

<SarufiChatbox
  botId={16}
  API_URL={"https://api.sarufi.io"}
  theme={{
    primaryColor: "blue",
    borderColor: "lightgray",
    fontSize: "14",
    fontFamily: "PoppinsRegular",
    sentBoxBg: "blue",
    receivedBoxBg: "white",
    sentBoxColor: "white",
    receivedBoxColor: "black",
    chatboxBg: "#EDECE1",
    receivedBoxLinkColor: "blue",
    sentBoxLinkColor: "white",
  }}  />

Examples

Source code
Demo

Props

NameTypeDefaultRequiredDescription
Proptype | false | Descriptions
0.1.0

1 year ago