Package-level declarations

Functions

Link copied to clipboard
fun AttachmentsPicker(attachmentsPickerViewModel: AttachmentsPickerViewModel, onAttachmentsSelected: (List<Attachment>) -> Unit, onTabClick: (Int, AttachmentsPickerMode) -> Unit, onAttachmentPickerAction: (AttachmentPickerAction) -> Unit = {}, onDismiss: () -> Unit, modifier: Modifier = Modifier, tabFactories: List<AttachmentsPickerTabFactory> = ChatTheme.attachmentsPickerTabFactories, shape: Shape = ChatTheme.shapes.bottomSheet)

Represents the bottom bar UI that allows users to pick attachments. The picker renders its tabs based on the tabFactories parameter. Out of the box we provide factories for images, files and media capture tabs.