PickerTabContent

open override fun PickerTabContent(attachments: List<AttachmentPickerItemState>, onAttachmentsChanged: (List<AttachmentPickerItemState>) -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)

Emits content that allows users to pick files in this tab.

Parameters

attachments

The list of attachments to display.

onAttachmentsChanged

Handler to set the loaded list of attachments to display.

onAttachmentItemSelected

Handler when the item selection state changes.

onAttachmentsSubmitted

Handler to submit the selected attachments to the message composer.