LMAIChatbot
LMAIChatbot
set's up LikeMinds AI Chatbot. It is the entry level component for AI-Chatbot. It accepts the following props.
Props
Property | Type | Description | Optional |
---|---|---|---|
buttonText | string | The text displayed on the AI chatbot button. | ✔️ |
loadingScreenAnimatons | JSON | JSON object for loading screen animations. | ✔️ |
previewText | string | Preview text for the chatbot. | ✔️ |
closeAIChatbot | () => void | Function to close the AI chatbot screen. | ✔️ |
showSettingUpChatbotText | boolean | Whether to show the setup text for the chatbot. | ✔️ |
isClearChatOptionEnabled | boolean | Indicates if the option to clear chat is enabled. |
CSS Classnames
Classname | Description |
---|---|
lm-chat-ai-bot-container | Container for the chatbot UI. |
lm-chat-ai-bot-channel | Area where bot interactions take place. |
Example
To customise the component with their classnames, Open your base css file and override the styles using the classname
.lm-chat-ai-bot-channel {
font-size: 18px;
color: "red";
}
Reference
For reference checkout this file