Package 

Class MediaAttachmentPreviewContentKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.