-
public final class FileUploadContentKt
-
-
Method Summary
Modifier and Type Method Description final static UnitFileUploadContent(AttachmentState attachmentState, Modifier modifier, Function2<Attachment, List<AttachmentPreviewHandler>, Unit> onItemClick)Represents the content when files are being uploaded. final static UnitFileUploadItem(Attachment attachment, Modifier modifier)Represents each uploading item, with its upload progress. -
-
Method Detail
-
FileUploadContent
@Composable() final static Unit FileUploadContent(AttachmentState attachmentState, Modifier modifier, Function2<Attachment, List<AttachmentPreviewHandler>, Unit> onItemClick)
Represents the content when files are being uploaded.
- Parameters:
attachmentState- The state of this attachment.modifier- Modifier for styling.onItemClick- Lambda called when an item gets clicked.
-
FileUploadItem
@Composable() final static Unit FileUploadItem(Attachment attachment, Modifier modifier)
Represents each uploading item, with its upload progress.
- Parameters:
attachment- The attachment that's being uploaded.modifier- Modifier for styling.
-
-
-
-