-
public final class ThreadItemKt
-
-
Method Summary
Modifier and Type Method Description final static UnitThreadItem(Thread thread, User currentUser, Function1<Thread, Unit> onThreadClick, Modifier modifier)The basic Thread item, showing information about the thread title, parent message, latest reply and number of unread replies. -
-
Method Detail
-
ThreadItem
@Composable() final static Unit ThreadItem(Thread thread, User currentUser, Function1<Thread, Unit> onThreadClick, Modifier modifier)
The basic Thread item, showing information about the thread title, parent message, latest reply and number of unread replies.
- Parameters:
thread- The Thread object holding the data to be rendered.currentUser- The currently logged User, used for formatting the message in the thread preview.onThreadClick- Action invoked when the user clicks on the item.modifier- Modifier instance for general styling.
-
-
-
-