Skip to main content

LMJoinedDMChannelTile

LMJoinedDMChannelTile renders a joined DM Chatroom-tile UI. It is internaly used under LMDMChannelList. It accepts an optional prop chatroom which maps to currently selectedChatroom.

Props

PropertyTypeDescriptionOptional
chatroomChatroomThe DM chatroom details.

CSS Classnames

ClassnameDescription
channel-iconContainer or element for channel icon
channel-descContainer or element for channel desc
channel-titleContainer or element for channel title
timeContainer or element for time
channel-infoContainer or element for channel info
channel-last-conversationContainer or element for channel last conversation
channel-unseen-convo-countContainer or element for channel unseen convo count

Example

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

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

Reference

For reference checkout this file