ImagesPicker

fun ImagesPicker(images: List<AttachmentPickerItemState>, onImageSelected: (AttachmentPickerItemState) -> Unit, modifier: Modifier = Modifier, itemContent: @Composable (AttachmentPickerItemState) -> Unit = { imageItem -> DefaultImagesPickerItem( imageItem = imageItem, onImageSelected = onImageSelected, ) })

Shows the UI for images the user can pick for message attachments. Exposes the logic of selecting items.

Parameters

images

The images the user can pick, to be rendered in a list.

onImageSelected

Handler when the user clicks on any image item.

modifier

Modifier for styling.