Components | Description |
---|---|
Groups | The Groups component is designed to display a list of Groups . This essentially represents the recent conversation history. |
Messages | The Messages component is designed to manage the messaging interaction for either individual User or Group conversations. |
App.tsx
file.
GroupsWithMessages
component. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.
Groups
subcomponent to navigate the group from Groups to MessagesMessages
subcomponent to navigate from Messages to DetailsonItemPress
and AppBarOptions
, the default behavior of GroupsWithMessages will also be overridden.Groups
and Messages
component. Hence, each of these components will have its individual `Configuration“.
Configurations
expose properties that are available in its individual components.groupsConfiguration
. You can accomplish this by employing the groupsConfiguration
props as demonstrated below:
GroupsConfiguration
can be found under Groups. 🛑 symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Groups subcomponent and, in addition, you only want to display the Group List based on only joined groups and setting the limit to 3.
You can modify the style using the groupsStyle
property and filter the list with the groupsRequestBuilder
property.
messagesConfiguration
props as demonstrated below:
MessagesConfiguration
can be found under Messages. 🛑 symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Messages subcomponent and, in addition, you only want to hide message header.
You can modify the style using the messagesStyle
property and hide the message header with the hideMessageHeader
property.
createGroupConfiguration
props as demonstrated below:
CreateGroupConfiguration
can be found under Create Group. 🛑 symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Create Group subcomponent.
You can modify the style using the createGroupStyle
property.