ChannelFilesAttachmentsItem

open fun LazyItemScope.ChannelFilesAttachmentsItem(modifier: Modifier, index: Int, item: ChannelAttachmentsViewState.Content.Item, currentUser: User?, onClick: () -> Unit)

Factory method for creating the channel files attachments item.

Parameters

modifier

The modifier for styling the item.

index

The index of the item in the list.

item

The channel file attachment item to display.

currentUser

The currently logged-in user.

onClick

Callback invoked when the item is clicked.