How to integrate CometChatMessageReceipt ?
- TypeScript
Properties
To style or customise theCometChatReceipt, you can use the available parameters or methods.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
<CometChatReceipt
receipt={status}
deliveredIcon={deliveredIcon}
errorIcon={errorIcon}
readIcon={readIcon}
sentIcon={sentIcon}
waitIcon={waitingIcon}
/>
CometChatReceipt, you can use the available parameters or methods.
| Properties | Type | Description |
|---|---|---|
| receipt | ’SENT’ | ‘DELIVERED’ | ‘READ’ | ‘ERROR’ | ‘WAIT’ | Based on this CometChatReceipt display an icon. |
| waitIcon | ImageType | It is use to pass user defined image in to the MessageReceipt, to change the icon While sending the message. |
| sentIcon | ImageType | It is use to pass user defined image in to the MessageReceipt, to change the icon When Message is sent. |
| deliveredIcon | ImageType | It is use to pass user defined image in to the MessageReceipt, to change the icon When Message is delivered. |
| readIcon | ImageType | It is use to pass user defined image in to the MessageReceipt, to change the icon When Message is read. |
| errorIcon | ImageType | It is use to pass user defined image in to the MessageReceipt, to change the icon While error occurs. |
Was this page helpful?