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.
Customisation
Property | Type | Description |
---|
userNameStyles | UserNameStyles | Defines the style for the user's name. |
userTitleStyles | UserTitleStyles | Defines the style for the user's title. |
searchPlaceholderText | string | Placeholder text for the search input. |
UserNameStyles
Property | Type | Description |
---|
color | string | Color of the user's name text. |
fontSize | number | Font size of the user's name. |
fontFamily | string | Font family of the user's name. |
UserTitleStyles
Property | Type | Description |
---|
color | string | Color of the user's title text. |
fontSize | number | Font size of the user's title. |
fontFamily | string | Font family of the user's title. |
Props
Property | Type | Description | Required |
---|
navigation | any | Navigation object to handle screen transitions. | ✔️ |
chatroomID | string | Unique ID of the chatroom. | ✔️ |
isDM | boolean | Indicates if the chatroom is a direct message. | ✔️ |
chatroomName | string | Name of the chatroom. | |
showList | boolean | Determines whether to display the list. | |