@flexcodelabs/sarufi-chatbox
v0.1.0
Published
[![npm](https://img.shields.io/npm/v/@flexcodelabs/sarufi-chatbox)](https://www.npmjs.com/package/@flexcodelabs/sarufi-chatbox) [![NPM](https://img.shields.io/npm/l/@flexcodelabs/sarufi-chatboxe)](https://www.npmjs.com/package/@flexcodelabs/sarufi-chatbox
Downloads
1
Readme
@flexcodelabs/sarufi-chatbox
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
Props
| Name | Type | Default | Required | Description |
| ---- | ------ | ------- | -------- | ------------ |
| Prop | type
| `` | false | Descriptions |