-
public final class MediaAttachmentPreviewContentKt
-
-
Method Summary
Modifier and Type Method Description final static UnitMediaAttachmentPreviewContent(List<Attachment> attachments, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier, Function1<String, Unit> previewItemOverlayContent)UI for currently selected image and video attachments, within the MessageInput. -
-
Method Detail
-
MediaAttachmentPreviewContent
@Composable() final static Unit MediaAttachmentPreviewContent(List<Attachment> attachments, Function1<Attachment, Unit> onAttachmentRemoved, Modifier modifier, Function1<String, Unit> previewItemOverlayContent)
UI for currently selected image and video attachments, within the MessageInput.
- Parameters:
attachments- Selected attachments.onAttachmentRemoved- Handler when the user removes an attachment from the list.modifier- Modifier for styling.previewItemOverlayContent- Represents the content overlaid above individual preview items.
-
-
-
-