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-iconChannel icon styling
channel-descChannel description text
channel-titleChannel title text
timeTimestamp display
channel-infoChannel info container
channel-last-conversationLast message preview
channel-unseen-convo-countUnread message counter

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