Skip to main content

LMChannelList

LMChannelList renders the channel list view. It renders the channels based on the currentTheme prop.

Props

PropertyTypeDescriptionOptional
currentChatroomIdnumberThe ID of the current chatroom.✔️
currentThemeLMChatThemeThe current theme configuration.

CSS Classnames

ClassnameDescription
titleDisplays the title of the channel list.
lm-channel-list-bodyContainer for the list of channels.
lm-channel-list dm-channel-listList of direct message channels.
lm-channel-list-headerHeader 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