MessageEditedTimestamp
Renders the edited label for a message inside MessageList. This is the default component for the MessageEditedTimestamp prop.
Best Practices
- Keep the edited label subtle but discoverable.
- Use the message timestamp component for consistent formatting.
- Avoid showing the edited label for system or deleted messages.
- Respect accessibility (screen reader labels) when adding status text.
- Keep the component lightweight to avoid list re-renders.
Props
| Prop | Description | Type |
|---|---|---|
message | Message object. | Message type |
UI Component Props
| Prop | Description | Type |
|---|---|---|
MessageTimestamp | Component that renders the message timestamp. Defaults to undefined. | ComponentType | undefined |