ThreadListItem

open fun ThreadListItem(thread: Thread, currentUser: User?, onThreadClick: (Thread) -> Unit)

The default thread list item. Shows information about the Thread title, parent message, last reply and number of unread replies.

Parameters

thread

The thread to display.

currentUser

The current user.

onThreadClick

Action invoked when the user clicks on the thread.