PickerTabContent
open override fun PickerTabContent(onAttachmentPickerAction: (AttachmentPickerAction) -> Unit, attachments: List<AttachmentPickerItemState>, onAttachmentsChanged: (List<AttachmentPickerItemState>) -> Unit, onAttachmentItemSelected: (AttachmentPickerItemState) -> Unit, onAttachmentsSubmitted: (List<AttachmentMetaData>) -> Unit)
Emits content that allows users to pick images in this tab.
Parameters
onAttachmentPickerAction
A lambda that will be invoked when an action is happened.
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.