{
"component": "CometChatMessageInformation",
"package": "@cometchat/chat-uikit-react",
"import": "import { CometChatMessageInformation } from \"@cometchat/chat-uikit-react\";",
"cssImport": "import \"@cometchat/chat-uikit-react/css-variables.css\";",
"description": "Displays detailed message information including delivery and read receipts for 1-on-1 and group conversations.",
"cssRootClass": ".cometchat-message-information",
"primaryOutput": {
"prop": "onClose",
"type": "() => void"
},
"props": {
"data": {
"message": { "type": "CometChat.BaseMessage", "note": "Required. The message to show information for." },
"dateTimeFormat": { "type": "CometChatMessageInformationCalendarObject", "note": "Custom date format for receipt timestamps." },
"textFormatters": { "type": "CometChatTextFormatter[]", "note": "Text formatters for the message bubble preview." },
"mockReceipts": { "type": "CometChatUserReceiptInfo[]", "note": "Mock receipts for Storybook/testing. Skips SDK fetch." }
},
"callbacks": {
"onClose": { "type": "() => void", "note": "Called when the panel close button is clicked." },
"onError": { "type": "(error: unknown) => void", "note": "Called when an SDK error occurs." }
},
"visibility": {
"showScrollbar": { "type": "boolean", "default": "false", "note": "Whether to show the scrollbar in the content area." }
}
},
"types": {
"CometChatMessageInformationRootProps": "Root provider props",
"CometChatMessageInformationHeaderProps": "Header sub-component props",
"CometChatMessageInformationMessagePreviewProps": "Message preview sub-component props",
"CometChatMessageInformationReceiptListProps": "Receipt list sub-component props",
"CometChatUserReceiptInfo": "Combined user receipt info (user + readAt + deliveredAt)",
"CometChatMessageInformationContextValue": "Context value for sub-components"
}
}