ThreadListItem

Renders a thread list item inside ThreadList. This is the default item component.

Best Practices

  • Keep list items compact for smooth scrolling.
  • Use thread data for display and navigation; avoid extra queries.
  • Localize timestamps with timestampTranslationKey.
  • Provide a fallback for missing thread metadata.
  • Keep item press handlers lightweight.

Props

PropDescriptionType
threadInstance of Thread used to read more data or pass to onThreadSelect.Thread
timestampTranslationKeyA translation key for formatting the thread timestamp.string