-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.js
40 lines (38 loc) · 918 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from "react";
import { createChatBotMessage } from 'react-chatbot-kit';
import AdmissionInfo from "./components/AdmissionInfo/AdmissionInfo";
import LinkList from "./components/LinkList/LinkList"
const config = {
botName: "Bot",
initialMessages: [createChatBotMessage("Hi, Welcome! I'm Your Bot. What do you want to Know?",{
widget: "AdmissionInfo",}),
],
customStyles: {
botMessageBox: {
backgroundColor: "#376B7E",
},
chatButton: {
backgroundColor: "#376B7E",
},
},
widgets: [
{
widgetName: "AdmissionInfo",
widgetFunc: (props) => <AdmissionInfo {...props} />,
},
{
widgetName: "Admissions",
widgetFunc: (props) => <LinkList {...props} />,
props: {
options: [
{
text: `Your Text`,
url:"<Your URL Here>",
id: 2,
},
],
},
},
],
}
export default config