0.1.0 • Published 1 year ago
@flexcodelabs/sarufi-chatbox v0.1.0
@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 |
0.1.0
1 year ago