ThreadListItem
ThreadListItem renders a single item inside ThreadList. It’s split into:
ThreadListItem- component + provider that rendersThreadListItemUiThreadListItemUi- component that renders the UI
Best Practices
- Customize
ThreadListItemUifirst to keep providers intact. - Keep list item UI concise to avoid scroll jank.
- Use thread metadata from props instead of re-querying.
- Ensure selection/active state remains clear in custom UI.
- Reuse shared message components for visual consistency.
You can customize the UI, behavior, or both.
Props
thread
A thread instance provided by the ThreadList.
| Type |
|---|
| Thread |