Skip to main content

Member List

Overview

The CommonAllMembers component in this file is responsible for rendering the list of all members in a chatroom. It fetches and displays member details like their name and profile picture, typically for group chats or communities.

LMFeedMediaPreviewScreen

Customisation

PropertyTypeDescription
userNameStylesUserNameStylesDefines the style for the user's name.
userTitleStylesUserTitleStylesDefines the style for the user's title.
searchPlaceholderTextstringPlaceholder text for the search input.

UserNameStyles

PropertyTypeDescription
colorstringColor of the user's name text.
fontSizenumberFont size of the user's name.
fontFamilystringFont family of the user's name.

UserTitleStyles

PropertyTypeDescription
colorstringColor of the user's title text.
fontSizenumberFont size of the user's title.
fontFamilystringFont family of the user's title.

Props

PropertyTypeDescriptionRequired
navigationanyNavigation object to handle screen transitions.✔️
chatroomIDstringUnique ID of the chatroom.✔️
isDMbooleanIndicates if the chatroom is a direct message.✔️
chatroomNamestringName of the chatroom.
showListbooleanDetermines whether to display the list.