Thumbnail Grid
fun ThumbnailGrid(documentData: DocumentData, onClick: suspend (Int) -> Unit, getBitmap: @Composable (Int, IntSize) -> Bitmap?)
Composable that displays a grid layout of the document pages. Customise n columns with LANDSCAPE_COLUMN_COUNT and PORTRAIT_COLUMN_COUNT.
Parameters
document Data
: The data provider for the document.
on Click
: The action to be performed when a grid item is clicked.
get Bitmap
: The function to get the bitmap of the page.