Data display
Comment
A note or message by a person, with actions. Use inside Timeline or a notes panel.
When to use
Messages in a case or record thread, including internal notes.
Use something else
System events → Timeline.
Do
- Show author, role and time; mark edited comments.
- Make internal notes visually distinct from customer-visible replies.
Don't
- Don't nest replies more than one level.
Props
| Prop | Type |
|---|---|
author required | string |
role | string |
time required | string |
edited | boolean |
actions | string[] |
children required | React.ReactNode |
Use
const { Comment } = window.Tessera;
const el = React.createElement(Comment, { /* props */ });