Skip to main content

LMChatAiChatbotHeader

LMChatAiChatbotHeader renders the header component of LikeMinds AI-Chatbot. It accepts the following props.

Props

PropertyTypeDescriptionOptional
closeAIChatbot() => voidFunction to close the AI chatbot.✔️
isClearChatOptionEnabledbooleanWhether the clear chat option is enabled.

CSS Classnames

ClassnameDescription
lm-channel-headerContainer or element for lm channel header
lm-header-leftContainer or element for lm header left
lm-channel-imgContainer or element for lm channel img
lm-channel-descContainer or element for lm channel desc
lm-channel-titleContainer or element for lm channel title
refresh-ai-bot iconContainer or element for refresh ai bot icon
close-ai-chatbotContainer or element for close ai chatbot

Example

To customise the component with their classnames, Open your base css file and override the styles using the classname

.lm-channel-title {
font-size: 18px;
color: "red";
}

Reference

For reference checkout this file