Name | Type | Description |
---|---|---|
call | CometChat.Call | CometChat call object consumed by the component to launch itself. |
Name | Type | Description |
---|---|---|
title | string | Heading text of the component |
Name | Type | Description |
---|---|---|
subtitleView | Function as PropType<(call: CometChat.Call) => ViewType> | User-defined React component to customise the secondary text shown in the component. |
Name | Type | Description |
---|---|---|
disableSoundForCalls | boolean | When set to true, the component will not produce sound for all incoming / outgoing messages. |
customSoundForCalls | string | mp3 file asset of your choice to play for all incoming calls. |
Name | Type | Description |
---|---|---|
onAccept | Function as PropType<(call:CometChat.Call)=>void> | Override the method that is invoked when user clicks on the accept button |
onDecline | Function as PropType<(call:CometChat.Call)=>void> | Override the method that is invoked when user clicks on the decline button |
onError | Function as PropType<(error: CometChat.CometChatException) => void> | Override the method that is invoked when an error is encountered within the component |
Name | Type | Description |
---|---|---|
acceptButtonText | string | Text or label displayed on the accept button within the component. |
declineButtonText | string | Text or label displayed on the decline button within the component. |
Name | Type | Description |
---|---|---|
AvatarStyle | AvatarStyle | Styling properties and values of the Avatar component |
ListItemStyle | listItemStyle | Styling properties and values of the List item component |
IncomingCallStyle | IncomingCallStyle | Styling properties of this component |