Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ui-kit/react/migration-property-changes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

| Prop | Type | Description |
| --- | --- | --- |
| `loggedInUser` | `CometChat.User` | Override the logged-in user |
| `messageTypes` | `string[]` | Filter message types to display |
| `messageCategories` | `string[]` | Filter message categories |
| `onAvatarClick` | `(user: CometChat.User) => void` | Avatar click callback |
Expand Down Expand Up @@ -206,7 +205,7 @@

| Prop | v6 Signature | v7 Signature | Notes |
| --- | --- | --- | --- |
| `options` | `(group, member) => Option[]` | `(member) => Option[]` | `group` param removed — component already knows its group |

Check warning on line 208 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L208

Did you really mean 'param'?

### Removed Props

Expand Down Expand Up @@ -409,7 +408,7 @@

| Prop | v6 Signature | v7 Signature | Notes |
| --- | --- | --- | --- |
| `onReactionClick` | `(reaction: ReactionCount, message) => void` | `(emoji: string, message) => void` | First param changed from object to emoji string |

Check warning on line 411 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L411

Did you really mean 'param'?

---

Expand Down Expand Up @@ -479,7 +478,7 @@
| --- | --- | --- |
| `message` | `CometChat.MediaMessage` | Source message — drives all extraction (**required**) |
| `alignment` | `"left" \| "right"` | Override incoming/outgoing alignment |
| `textFormatters` | `CometChatTextFormatter[]` | Text formatters for caption rendering |

Check warning on line 481 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L481

Did you really mean 'formatters'?
| `placeholderImage` | `string` | Custom placeholder shown while the image loads |
| `onImageClicked` | `(attachment, index) => void` | Fires when an image is clicked |
| `className` | `string` | Custom root class |
Expand All @@ -504,7 +503,7 @@
| --- | --- | --- |
| `defaultSearchText` | `string` | Default search text |
| `disabled` | `boolean` | Disable the search bar |
| `debounceMs` | `number` | Debounce delay in ms |

Check warning on line 506 in ui-kit/react/migration-property-changes.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/migration-property-changes.mdx#L506

Did you really mean 'Debounce'?
| `inputRef` | `Ref<HTMLInputElement>` | Ref to the input element |
| `style` | `CSSProperties` | Inline styles |

Expand Down