LeadingContent

@Composable
fun LeadingContent(pack: OfflinePack, offlineManager: OfflineManager = rememberOfflineManager(), completedIcon: @Composable () -> Unit = { Icon( imageVector = vectorResource(Res.drawable.check_circle_filled), contentDescription = "Complete", ) }, pausedIcon: @Composable () -> Unit = { Icon( imageVector = vectorResource(Res.drawable.pause_circle_filled), contentDescription = "Paused", ) }, downloadingIcon: @Composable () -> Unit = { DownloadProgressCircle(pack) }, errorIcon: @Composable () -> Unit = { Icon( imageVector = vectorResource(Res.drawable.error_filled), contentDescription = "Error", tint = MaterialTheme.colorScheme.error, ) }, warningIcon: @Composable () -> Unit = { Icon( imageVector = vectorResource(Res.drawable.warning_filled), contentDescription = "Warning", ) })(source)

The default leading content for an OfflinePackListItem. It includes a CircularProgressIndicator for in-progress downloads, and otherwise an Icon representing the status of the pack.