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
message
Message object.
| Type |
|---|
Message type |
UI components
MessageTimestamp
Component that renders the message timestamp.
| Type | Default |
|---|---|
ComponentType |undefined | undefined |