Skip to main content

Common Patterns

These 8 patterns apply across all components. You do not need to look them up per-component:

CometChatConversations

Removed Props

New Props


CometChatMessageList

Modified Props

Removed Props

New Props


CometChatMessageComposer

Renamed Props

New Props


CometChatMessageHeader

Modified Props

Removed Props

New Props


CometChatThreadHeader

Removed Props

New Props


CometChatUsers

Removed Props


CometChatGroups

Removed Props

New Props


CometChatGroupMembers

Modified Props

Removed Props

New Props


CometChatIncomingCall

Removed Props

New Props


CometChatOngoingCall

New Props


CometChatMessageBubble

Renamed Props

Modified Props

Removed Props

New Props


CometChatContextMenu

Renamed Props

Modified Props


CometChatConfirmDialog

All string/callback props moved to compound sub-components: New root-level props: isOpen, onClose, closeOnOutsideClick, variant. The compound sub-components are CometChatConfirmDialog.Root, .Icon (optional leading icon, new in v7), .Content, and .Actions.

CometChatActionSheet

All props moved to compound pattern: New root-level props: isOpen, onClose, layoutMode, title.

CometChatCheckbox

Renamed Props


CometChatChangeScope

Renamed Props

Modified Props


CometChatDate

Renamed Props

New Props


CometChatReactions

Renamed Props

Modified Props


CometChatReactionList

Renamed Props


CometChatFullScreenViewer

Renamed Props

Removed Props

New Props


CometChatImageBubble

In v7, image bubbles are self-extracting: pass the SDK message and the bubble derives its own attachments, caption, and alignment. The pre-extracted data props from v6 are gone.

Removed Props

New / Current Props

This self-extracting pattern applies to all message bubbles in v7 (CometChatTextBubble, CometChatVideoBubble, CometChatAudioBubble, CometChatFileBubble, CometChatPollBubble, CometChatStickerBubble, CometChatCallBubble, and the action/collaborative bubbles): each takes the SDK message and derives its own data. See Message Bubble.

CometChatSearchBar

Modified Props

New Props


CometChatButton

Removed Props

New Props


Next Steps

Migration Overview

Architecture changes and step-by-step checklist

Components Overview

Browse all v7 components