ThreadListItem
Renders a thread list item inside ThreadList. This is the default item component.
Best Practices
- Keep list items compact for smooth scrolling.
- Use
threaddata for display and navigation; avoid extra queries. - Localize timestamps with
timestampTranslationKey. - Provide a fallback for missing thread metadata.
- Keep item press handlers lightweight.
Props
thread
Instance of Thread used to read more data or pass to onThreadSelect.
| Type |
|---|
| Thread |
timestampTranslationKey
A translation key for formatting the thread timestamp.
| Type |
|---|
| string |