Overview
TheCall Button is a Component provides users with the ability to make calls, access call-related functionalities, and control call settings. Clicking this button typically triggers the call to be placed to the desired recipient.

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.1. onError
This action doesn’t change the behavior of the component but rather listens for any errors that occur in the Call Button component.- TypeScript
- JavaScript
Filters
You can setCallSettingsBuilder in the Call Buttons Component to customise the calling experience. To know more about the filters available please refer to CallSettingsBuilder.
- TypeScript
- JavaScript
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 list of events emitted by the Call Buttons component is as follows.
- Add Listener
- Remove Listener
Customization
To fit your app’s design requirements, you can customize the appearance of the Call Buttons component. We provide exposed methods that allow you to modify the experience and behavior according to your specific needs.Style
Using CSS you can customize the look and feel of the component in your app like the color, size, shape, and fonts.
- TypeScript
- JavaScript
- CSS
Configurations
Configurations offer the ability to customize the properties of each component within a Composite Component.CallButtons component renders CometChatOutgoingCall component.
Outgoing Call
You can customize the properties of theCometChatOutgoingCall component by making use of the OutgoingCallConfiguration. Below properties are available in OutgoingCallConfiguration.
You can refer to CometChatOutgoingCall component to know more about each of the above properties.