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
Property | Type | Description | Optional |
---|---|---|---|
currentChatroomId | number | The ID of the current chatroom. | ✔️ |
CSS Classnames
Classname | Description |
---|---|
lm-channel-block | Container or element for lm channel block |
lm-right-panel | Container or element for lm right panel |
lm-chat-box | Container 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