> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Call Log With Details

> Call Log With Details — CometChat documentation.

## Overview

The `CometChatCallLogsWithDetails` is a [Composite Component](/ui-kit/react-native/v4/components-overview#composite-components) encompassing components such as [Call Logs](/ui-kit/react-native/v4/call-logs) and [Call Log Details](/ui-kit/react-native/v4/call-log-details). Both of these component contributes to the functionality and structure of the overall `CallLogsWithDetails` component.

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/8ODUflBxloB1jkgP/images/009ccbea-call_log_with_details_overview_cometchat_screens-c48d490bc0636958d16feb62190be91c.png?fit=max&auto=format&n=8ODUflBxloB1jkgP&q=85&s=6807e5864ea43155974fa93c87dfce68" alt="Image" width="4498" height="3120" data-path="images/009ccbea-call_log_with_details_overview_cometchat_screens-c48d490bc0636958d16feb62190be91c.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/CrArf1QwUPg5EvCC/images/2d164a07-call_log_with_details_overview_cometchat_screens-b746c96b5eff8781b1491b9b5e9ed5b7.png?fit=max&auto=format&n=CrArf1QwUPg5EvCC&q=85&s=9c6924af344630c60a08f542a7b03e7c" alt="Image" width="4498" height="3120" data-path="images/2d164a07-call_log_with_details_overview_cometchat_screens-b746c96b5eff8781b1491b9b5e9ed5b7.png" />
  </Tab>
</Tabs>

| Components                                                   | Description                                                                                                                                                                                                                                                           |
| ------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Call Logs](/ui-kit/react-native/v4/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](/ui-kit/react-native/v4/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. |

## Usage

### Integration

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import { CometChatCallLogsWithDetails } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      return <>{loggedInUser && <CometChatCallLogsWithDetails />}</>;
    }
    ```
  </Tab>
</Tabs>

***

### Actions

[Actions](/ui-kit/react-native/v4/components-overview#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.

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogDetailsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const datePattern: DatePattern = "timeFormat";
      const dateSeparatorPattern: DatePattern = "dayDateFormat";

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        onInfoIconPress: (prop: { call: CometChat.BaseMessage }) => {
          //code
        },
        datePattern: datePattern,
        dateSeparatorPattern: dateSeparatorPattern,
      };

      const callLogDetailsConfiguration: CallLogDetailsConfigurationInterface = {
        onBack: () => {
          //code
        },
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
              callLogDetailsConfiguration={callLogDetailsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

The `CometChatCallLogsWithDetails` component overrides several actions from its components to reach its default behavior. The list of actions overridden by GroupsWithMessages includes:

* [onInfoIconPress](/ui-kit/react-native/v4/call-logs#2-oninfoiconpress) : By overriding the `onInfoIconPress` of the Call Logs Component, CallLogsWithDetails achieves navigation from [Call Logs](/ui-kit/react-native/v4/call-logs) to [Call Log Details](/ui-kit/react-native/v4/call-log-details) component.

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/-ESEkh1kVWNrvtT0/images/67ba9276-call_log_with_details_info_icon_cometchat_screens-b8b42fbfc76e01d60f7767e5fd478fd9.png?fit=max&auto=format&n=-ESEkh1kVWNrvtT0&q=85&s=5c04715057cbd0e346b733a579426520" alt="Image" width="4498" height="3120" data-path="images/67ba9276-call_log_with_details_info_icon_cometchat_screens-b8b42fbfc76e01d60f7767e5fd478fd9.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/tiy_c-4NywbKIGIr/images/7ee16540-call_log_with_details_info_icon_cometchat_screens-5735ccde6c391c7f05c055849bfe0da0.png?fit=max&auto=format&n=tiy_c-4NywbKIGIr&q=85&s=d9c82b2fec9901a02ee6112ac1a7a84a" alt="Image" width="4498" height="3120" data-path="images/7ee16540-call_log_with_details_info_icon_cometchat_screens-5735ccde6c391c7f05c055849bfe0da0.png" />
  </Tab>
</Tabs>

***

### 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](/ui-kit/react-native/v4/call-logs) and [Call Log Details](/ui-kit/react-native/v4/call-log-details).

By utilizing the [Configurations](#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 the `callLogRequestBuilder`.

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import {CometChat} from '@cometchat/chat-sdk-react-native';
    import { CometChatCallLogsWithDetails, CallLogsConfigurationInterface, CallLogRequestBuilder  } from '@cometchat/chat-uikit-react-native';

    function App(): React.JSX.Element {


       const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
       useEffect(() => {
    	   //code
         CometChatUIKit.login({uid: 'uid'})
           .then(async (user: CometChat.User) => {
             setLoggedInUser(user);

           })
           .catch((error: any) => {
             //handle error
           });
       }, []);

       const datePattern : DatePattern = 'timeFormat';
       const dateSeparatorPattern : DatePattern = 'dayDateFormat';

       const callLogsConfiguration : CallLogsConfigurationInterface = {
          datePattern: datePattern,
          dateSeparatorPattern: dateSeparatorPattern
          callRequestBuilder: new CallLogRequestBuilder().setAuthToken('auth-token').setLimit(5).setCallStatus('missed');
       }

       return (
    	   <>
            { loggedInUser &&
              <CometChatCallLogsWithDetails
                   CallLogsConfiguration={callLogsConfiguration}
              />
            }
    	   </>
       );
     }
    ```
  </Tab>
</Tabs>

***

### Events

[Events](/ui-kit/react-native/v4/components-overview#events) are emitted by a `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 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](/ui-kit/react-native/v4/call-logs#1-calllogs-style) and [Call Log Details Styles](/ui-kit/react-native/v4/call-log-details#1-calllogdetails-style).

Styles can be applied to SubComponents using their respective [configurations](#configurations).

**Example**

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogRequestBuilder,
      CallLogsStyleInterface,
      CallLogDetailsStyleInterface,
      CallLogDetailsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const datePattern: DatePattern = "timeFormat";
      const dateSeparatorPattern: DatePattern = "dayDateFormat";

      const callLogsStyle: CallLogsStyleInterface = {
        titleColor: "red",
      };

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        datePattern: datePattern,
        dateSeparatorPattern: dateSeparatorPattern,
        callLogsStyle: callLogsStyle,
      };

      const callLogDetailsStyle: CallLogDetailsStyleInterface = {
        titleColor: "blue",
      };

      const callLogDetailsConfiguration: CallLogDetailsConfigurationInterface = {
        callLogDetailsStyle: callLogDetailsStyle,
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
              callLogDetailsConfiguration={callLogDetailsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

***

### 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.

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogRequestBuilder,
    } from "@cometchat/chat-uikit-react-native";
    import { CallLog } from "@cometchat/calls-sdk-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      const [callLog, setCallLog] = useState<CallLog>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);

            const CallLogRequest = new CallLogRequestBuilder()
              .setLimit(1)
              .setCallStatus("cancelled")
              .setAuthToken(user!.getAuthToken())
              .build();

            CallLogRequest.fetchNext().then((callLogs: CallLog[]) => {
              setCallLog(callLogs[0]);
            });
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      return (
        <>
          {loggedInUser && callLog && (
            <CometChatCallLogsWithDetails call={callLog} />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/oaJbJ0bOxG69pJ1L/images/8a5d6f59-participants_func_cometchat_screens-2d5e387537ff8d2a7073665aa35118d7.png?fit=max&auto=format&n=oaJbJ0bOxG69pJ1L&q=85&s=fa7afd73fd325554d6145c1eb487250f" alt="Image" width="4498" height="3120" data-path="images/8a5d6f59-participants_func_cometchat_screens-2d5e387537ff8d2a7073665aa35118d7.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/bKHmaxDqzaJZWwLS/images/45447261-participants_func_cometchat_screens-7312920c3cac5a349da93f4a51e5a0ef.png?fit=max&auto=format&n=bKHmaxDqzaJZWwLS&q=85&s=bf8037a383bfd52019af4b19f75d31ee" alt="Image" width="4498" height="3120" data-path="images/45447261-participants_func_cometchat_screens-7312920c3cac5a349da93f4a51e5a0ef.png" />
  </Tab>
</Tabs>

Below is a list of customizations along with corresponding code snippets:

| Property | Description                       | Code             |
| -------- | --------------------------------- | ---------------- |
| **call** | Used to set the selected Call Log | `call?: CallLog` |

***

##### Components

Nearly all functionality customizations available for a Component are also available for the composite component. Using [Configuration](#configurations), 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 Logs](/ui-kit/react-native/v4/call-logs#functionality)and [Call Log Details Styles](/ui-kit/react-native/v4/call-log-details#functionality).

**Example**

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogRequestBuilder,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const datePattern: DatePattern = "timeFormat";
      const dateSeparatorPattern: DatePattern = "dayDateFormat";

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        datePattern: datePattern,
        dateSeparatorPattern: dateSeparatorPattern,
        showBackButton: true,
      };

      const callLogDetailsConfiguration: CallLogDetailsConfigurationInterface = {
        callLogDetailsStyle: callLogDetailsStyle,
        showCloseButton: true,
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
              callLogDetailsConfiguration={callLogDetailsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

***

### 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](#configurations) object of each component, you can apply advanced-level customizations to the GroupsWithMessages.

**Example**

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogRequestBuilder,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const datePattern: DatePattern = "timeFormat";
      const dateSeparatorPattern: DatePattern = "dayDateFormat";

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        datePattern: datePattern,
        dateSeparatorPattern: dateSeparatorPattern,
        EmptyStateView: () => {
          return <Text>Loading...</Text>;
        },
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

***

To find all the details on individual Component advance customization you can refer, [Call Logs Advance](/ui-kit/react-native/v4/call-logs#advanced) and [Call Log Details Advance](/ui-kit/react-native/v4/call-log-details#advanced).

CallLogsWithDetails uses advanced-level customization of both Call Logs & Call Log Details components to achieve its default behavior.

1. CallLogsWithDetails utilizes the [onInfoIconPress](/ui-kit/react-native/v4/call-logs#2-oninfoiconpress) property of the `Call Logs` subcomponent to navigate the Call Log Details from [Call Logs](/ui-kit/react-native/v4/call-logs) to [Call Log Details](/ui-kit/react-native/v4/call-log-details).

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/-ESEkh1kVWNrvtT0/images/67ba9276-call_log_with_details_info_icon_cometchat_screens-b8b42fbfc76e01d60f7767e5fd478fd9.png?fit=max&auto=format&n=-ESEkh1kVWNrvtT0&q=85&s=5c04715057cbd0e346b733a579426520" alt="Image" width="4498" height="3120" data-path="images/67ba9276-call_log_with_details_info_icon_cometchat_screens-b8b42fbfc76e01d60f7767e5fd478fd9.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/tiy_c-4NywbKIGIr/images/7ee16540-call_log_with_details_info_icon_cometchat_screens-5735ccde6c391c7f05c055849bfe0da0.png?fit=max&auto=format&n=tiy_c-4NywbKIGIr&q=85&s=d9c82b2fec9901a02ee6112ac1a7a84a" alt="Image" width="4498" height="3120" data-path="images/7ee16540-call_log_with_details_info_icon_cometchat_screens-5735ccde6c391c7f05c055849bfe0da0.png" />
  </Tab>
</Tabs>

2. CallLogsWithDetails utilizes the [onBack](/ui-kit/react-native/v4/call-log-details#1-onback) action of the `Call Log Details` subcomponent to close the [Call Log Details](/ui-kit/react-native/v4/call-log-details) Component

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/-ESEkh1kVWNrvtT0/images/64d708e6-call_log_with_details_back_icon_cometchat_screens-f3c69b2615cf4bf9d926023ad9c66634.png?fit=max&auto=format&n=-ESEkh1kVWNrvtT0&q=85&s=b2b112ba3e80e2c1dba86acb6c3fb6a6" alt="Image" width="4498" height="3120" data-path="images/64d708e6-call_log_with_details_back_icon_cometchat_screens-f3c69b2615cf4bf9d926023ad9c66634.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/4xujL4pc0yDqaECl/images/d41b1c30-call_log_with_details_back_icon_cometchat_screens-ac74fb1593c5af93dcf0cda9a8869a69.png?fit=max&auto=format&n=4xujL4pc0yDqaECl&q=85&s=e406da9ab3dd0535706828cf8345c0d2" alt="Image" width="4498" height="3120" data-path="images/d41b1c30-call_log_with_details_back_icon_cometchat_screens-ac74fb1593c5af93dcf0cda9a8869a69.png" />
  </Tab>
</Tabs>

<Warning>
  When you override `onItemPress` and `onBack`, the default behavior of CallLogsWithDetails will also be overridden.
</Warning>

## Configurations

[Configurations](/ui-kit/react-native/v4/components-overview#configurations) offer the ability to customize the properties of each component within a Composite Component.

CallLogsWithDetails has `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.

#### Call Logs

You can customize the properties of the Groups component by making use of the `callLogsConfiguration`. You can accomplish this by employing the `callLogsConfiguration` props as demonstrated below:

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        //override properties
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

All exposed properties of `CallLogsConfiguration` can be found under [Call Logs](/ui-kit/react-native/v4/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.

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/6twnUcGNOB9c0CI0/images/ee24bda0-call_log_with_details_log_cometchat_screens-2f777515d24f585bf3ca1b47a276c15f.png?fit=max&auto=format&n=6twnUcGNOB9c0CI0&q=85&s=8e18d91dbd9f7e95079be72f2d4a22ca" alt="Image" width="4498" height="3120" data-path="images/ee24bda0-call_log_with_details_log_cometchat_screens-2f777515d24f585bf3ca1b47a276c15f.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/veBAxaR1km9EBnSg/images/3b8a708f-call_log_with_details_log_cometchat_screens-53785d68407dcbc7a4942fcacfe4566f.png?fit=max&auto=format&n=veBAxaR1km9EBnSg&q=85&s=a5f65c4269e98b83ba6a3d14481f5636" alt="Image" width="4498" height="3120" data-path="images/3b8a708f-call_log_with_details_log_cometchat_screens-53785d68407dcbc7a4942fcacfe4566f.png" />
  </Tab>
</Tabs>

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogsConfigurationInterface,
      CallLogRequestBuilder,
      CallLogsStyleInterface,
      CallLogDetailsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const datePattern: DatePattern = "timeFormat";
      const dateSeparatorPattern: DatePattern = "dayDateFormat";

      const callLogsStyle: CallLogsStyleInterface = {
        titleColor: "#6851D6",
      };

      const callLogsConfiguration: CallLogsConfigurationInterface = {
        datePattern: datePattern,
        dateSeparatorPattern: dateSeparatorPattern,
        callLogsStyle: callLogsStyle,
        showBackButton: true,
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              CallLogsConfiguration={callLogsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

***

#### Call Log Details

You can customize the properties of the Call Log Details component by making use of the `callLogDetailsConfiguration`. You can accomplish this by employing the `callLogDetailsConfiguration` props as demonstrated below:

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogDetailsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const callLogDetailsConfiguration: CallLogDetailsConfigurationInterface = {
        //override properties
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              callLogDetailsConfiguration={callLogDetailsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>

All exposed properties of `CallLogDetailsConfiguration` can be found under [Call Log Details](/ui-kit/react-native/v4/call-log-details#functionality). 🛑 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.

<Tabs>
  <Tab title="iOS">
    <img src="https://mintcdn.com/cometchat-22654f5b/veBAxaR1km9EBnSg/images/3a1469be-call_log_with_details_details_cometchat_screens-ff71c6ab97165fcacdb460e1725eb1e9.png?fit=max&auto=format&n=veBAxaR1km9EBnSg&q=85&s=d9742156d17af81166b32efbb0b1429f" alt="Image" width="4498" height="3120" data-path="images/3a1469be-call_log_with_details_details_cometchat_screens-ff71c6ab97165fcacdb460e1725eb1e9.png" />
  </Tab>

  <Tab title="Android">
    <img src="https://mintcdn.com/cometchat-22654f5b/FdElFhttTImVJEz7/images/e1b76843-call_log_with_details_details_cometchat_screens-57255e111769ac94dcab0a8e423b68c7.png?fit=max&auto=format&n=FdElFhttTImVJEz7&q=85&s=f5643861a917ae7b6741a42221d78b76" alt="Image" width="4498" height="3120" data-path="images/e1b76843-call_log_with_details_details_cometchat_screens-57255e111769ac94dcab0a8e423b68c7.png" />
  </Tab>
</Tabs>

<Tabs>
  <Tab title="App.tsx">
    ```tsx theme={null}
    import { CometChat } from "@cometchat/chat-sdk-react-native";
    import {
      CometChatCallLogsWithDetails,
      CallLogDetailsStyleInterface,
      CallLogDetailsConfigurationInterface,
    } from "@cometchat/chat-uikit-react-native";

    function App(): React.JSX.Element {
      const [loggedInUser, setLoggedInUser] = useState<CometChat.User>();
      useEffect(() => {
        //code
        CometChatUIKit.login({ uid: "uid" })
          .then(async (user: CometChat.User) => {
            setLoggedInUser(user);
          })
          .catch((error: any) => {
            //handle error
          });
      }, []);

      const callLogDetailsStyle: CallLogDetailsStyleInterface = {
        titleColor: "blue",
        backgroundColor: "#d2cafa",
      };

      const callLogDetailsConfiguration: CallLogDetailsConfigurationInterface = {
        callLogDetailsStyle: callLogDetailsStyle,
      };

      return (
        <>
          {loggedInUser && (
            <CometChatCallLogsWithDetails
              callLogDetailsConfiguration={callLogDetailsConfiguration}
            />
          )}
        </>
      );
    }
    ```
  </Tab>
</Tabs>
