SetThumbnailBarDocument

Convenience function to set a document on the thumbnail bar. This should be called from a LaunchedEffect when the document changes.

Parameters

stateManager

The state manager

document

The PDF document to display

configuration

The PDF configuration