DocumentCarousel
fun DocumentCarousel(modifier: Modifier = Modifier, documentModel: DocumentModel, onDocumentClicked: (DocumentInfo) -> Unit = {}, emptyDocumentContent: @Composable () -> Unit = {})
Displays a horizontally swipeable carousel of documents.
Parameters
modifier
to allow control over visual attributes
documentModel
the DocumentModel to observe.
onDocumentClicked
callback invoked when the currently focused card is tapped. Provides the unique document identifier associated with the click item.
emptyDocumentContent
fallback content for when there are no org.multipaz.document.Document's available.