FileAttachmentItem
fun FileAttachmentItem(attachment: Attachment, isMine: Boolean, showFileSize: (Attachment) -> Boolean, modifier: Modifier = Modifier)
Represents each file item in the list of file attachments.
Parameters
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.
modifier
Modifier for styling.