Skip to main content

LMChannel

LMChannel renders the chatroom view of the LikeMinds Chat SDK. It is responsible for rendering the channel list and the chatroom screen. It accepts an optional prop currentChatroomId, providing which will open the chatroom with the provided chatroomId.

Props

PropertyTypeDescriptionOptional
currentChatroomIdnumberThe ID of the current chatroom.✔️

CSS Classnames

ClassnameDescription
lm-channel-blockContainer or element for lm channel block
lm-right-panelContainer or element for lm right panel
lm-chat-boxContainer or element for lm chat box

Example

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

.lm-chat-box {
font-size: 18px;
color: "red";
}

Reference

For reference checkout this file