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
| Prop | Description | Type |
|---|---|---|
thread |
Instance of Thread used to read more data or pass to onThreadSelect. |
Thread |
timestampTranslationKey |
A translation key for formatting the thread timestamp. | string |