LMChannelList
LMChannelList
renders the channel list view. It renders the channels based on the currentTheme
prop. It accepts the following props.
Props
Property | Type | Description | Optional |
---|---|---|---|
currentChatroomId | number | The ID of the current chatroom. | ✔️ |
currentTheme | LMChatTheme | The current theme configuration. |
CSS Classnames
Classname | Description |
---|---|
title | Displays the title of the channel list. |
lm-channel-list-body | Container for the list of channels. |
lm-channel-list dm-channel-list | List of direct message channels. |
lm-channel-list-header | Header section of the channel list. |
Example
To customise the component with their classnames, Open your base css file and override the styles using the classname
.lm-channel-list-header {
font-size: 18px;
color: "red";
}
Reference
For reference checkout this file