FileAttachmentItem
open fun FileAttachmentItem(modifier: Modifier, attachment: Attachment, isMine: Boolean, showFileSize: (Attachment) -> Boolean)
Factory method for creating a file attachment item.
Parameters
modifier
Modifier for styling.
attachment
The file attachment to show.
isMine
Whether the message is sent by the current user or not.
showFileSize
Whether to show the file size or not.