Package-level declarations
Functions
Link copied to clipboard
fun FilesPicker(files: List<AttachmentPickerItemState>, onItemSelected: (AttachmentPickerItemState) -> Unit, onBrowseFilesResult: (List<Uri>) -> Unit, modifier: Modifier = Modifier, itemContent: @Composable (AttachmentPickerItemState) -> Unit = {
DefaultFilesPickerItem(
fileItem = it,
onItemSelected = onItemSelected,
)
})
Shows the UI for files the user can pick for message attachments. Exposes the logic of selecting items and browsing for extra files.
Link copied to clipboard
Represents the image that's shown in file picker items. This can be either an image/icon that represents the file type or a thumbnail in case the file type is an image.