Overview
TheCometChatCallLogsWithDetails 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.
- iOS
- Android

Usage
Integration
- App.tsx
Actions
Actions dictate how a component functions. They are divided into two types: Predefined and User-defined. You can override either type, allowing you to tailor the behavior of the component to fit your specific needs. While the CallLogsWithDetails component does not have its actions, its components - Call Logs, and Call Log Details - each have their own set of actions. The Action of the components can be overridden through the use of the Configurations object of its components. Here is an example code snippet.- App.tsx
CometChatCallLogsWithDetails component overrides several actions from its components to reach its default behavior. The list of actions overridden by GroupsWithMessages includes:
- onInfoIconPress : By overriding the
onInfoIconPressof the Call Logs Component, CallLogsWithDetails achieves navigation from Call Logs to Call Log Details component.
- iOS
- Android

Filters
Filters allow you to customize the data displayed in a list within a Component. You can filter the list based on your specific criteria, allowing for a more customized. Filters can be applied using RequestBuilders of Chat SDK. While the CallLogsWithDetails component does not have filters, its components do, For more detail on individual filters of its component refer to Call Logs and Call Log Details. By utilizing the Configurations object of its components, you can apply filters. In the following example, we are applying a filter to the Call Logs by setting the status to show only ‘missed’ calls and setting the limit to 5 using thecallLogRequestBuilder.
- App.tsx
Events
Events are emitted by aComponent. 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 but its component does.
Customization
To fit your app’s design requirements, you have the ability to customize the appearance of the CallLogsWithDetails component. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.Style
Using Style you can customize the look and feel of the component in your app, These parameters typically control elements such as the color, size, shape, and fonts used within the component. You can customize its sub-component styles. For more details on individual component styles, you can refer Call Logs Styles and Call Log Details Styles. Styles can be applied to SubComponents using their respective configurations. Example- App.tsx
Functionality
These are a set of small functional customizations that allow you to fine-tune the overall experience of the component. With these, you can change text, set custom icons, and toggle the visibility of UI elements.- App.tsx
- iOS
- Android

Components
Nearly all functionality customizations available for a Component are also available for the composite component. Using Configuration, you can modify the properties of its components to suit your needs. You can find the list of all Functionality customization of individual components in Call Logsand Call Log Details Styles. Example- App.tsx
Advanced
For advanced-level customization, you can set custom views to the component. This lets you tailor each aspect of the component to fit your exact needs and application aesthetics. You can create and define your own views, layouts, and UI elements and then incorporate those into the component. By utilizing the Configuration object of each component, you can apply advanced-level customizations to the GroupsWithMessages. Example- App.tsx
To find all the details on individual Component advance customization you can refer, Call Logs Advance and Call Log Details Advance. CallLogsWithDetails uses advanced-level customization of both Call Logs & Call Log Details components to achieve its default behavior.
- CallLogsWithDetails utilizes the onInfoIconPress property of the
Call Logssubcomponent to navigate the Call Log Details from Call Logs to Call Log Details.
- iOS
- Android

- CallLogsWithDetails utilizes the onBack action of the
Call Log Detailssubcomponent to close the Call Log Details Component
- iOS
- Android

Configurations
Configurations offer the ability to customize the properties of each component within a Composite Component. CallLogsWithDetails hasCall Logs and Call Log Details component. Hence, each of these components will have its individual Configuration.
Configurationsexpose properties that are available in its individual components.
Call Logs
You can customize the properties of the Groups component by making use of thecallLogsConfiguration. You can accomplish this by employing the callLogsConfiguration props as demonstrated below:
- App.tsx
CallLogsConfiguration can be found under Call Logs. 🛑 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 show the back button using showBackButton property.
- iOS
- Android

- App.tsx
Call Log Details
You can customize the properties of the Call Log Details component by making use of thecallLogDetailsConfiguration. You can accomplish this by employing the callLogDetailsConfiguration props as demonstrated below:
- App.tsx
CallLogDetailsConfiguration can be found under Call Log Details. 🛑 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.
- iOS
- Android

- App.tsx





