CometChatCallLogsWithDetails
is a Composite Component encompassing components such as Call Logs and Call Log Details. Both of these component contributes to the functionality and structure of the overall CallLogsWithDetails
component.
Components | Description |
---|---|
Call Logs | The Call Logs component is designed to show the list of Call Log available . By default, names are shown for all listed users, along with their avatar if available. |
Call Log Details | The Call Log Details component is designed to displays all the information related to a call. This component displays information like user/group information, participants of the call, recordings of the call (if available) & history of all the previous calls. |
CometChatCallLogsWithDetails
component overrides several actions from its components to reach its default behavior. The list of actions overridden by GroupsWithMessages includes:
onInfoClick
of the Call Logs Component, CallLogsWithDetails achieves navigation from Call Logs to Call Log Details component.callLogRequestBuilder
.
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
The CallLogsWithDetails does not produce any events.
withDetailsStyle
to the CallLogsWithDetails Component to customize the styling.
Property | Description | Code |
---|---|---|
isMobileView | A boolean indicating if the component should render in mobile view for optimized display on mobile devices. | isMobileView: false |
messageText | It represents the textual content which will be replaced with the Call Log Details component when user clicks on a particular info button call logs. | messageText="Your Custom Message Text" |
Call Logs
subcomponent to navigate the Call Log Details from Call Logs to Call Log Details.Call Log Details
subcomponent to close the Call Log Details ComponentonItemClick
and onBack
, the default behavior of CallLogsWithDetails will also be overridden.Call Logs
and Call Log Details
component. Hence, each of these components will have its individual Configuration
.
Configurations
expose properties that are available in its individual components.callLogsConfiguration
. You can accomplish this by employing the callLogsConfiguration
props as demonstrated below:
CallLogsConfiguration
can be found under Call Logs. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Call Logs subcomponent and, in addition, you only want to hide the separator of the Call Logs.
You can modify the style using the callLogsStyle
property and hide the separator using hideSeparator
property.
callLogDetailsConfiguration
. You can accomplish this by employing the callLogDetailsConfiguration
props as demonstrated below:
CallLogDetailsConfiguration
can be found under Call Log Details. Properties marked with the report symbol are not accessible within the Configuration Object.
Example
Let’s say you want to change the style of the Call Log Details subcomponent and, in addition, you only want to change the Back Icon.
You can modify the style using the callLogDetailsStyle
property and change the back icon using “ property.