ApprovedPreApprovalsScreen

fun ApprovedPreApprovalsScreen(navController: ERROR CLASS: Symbol not found for NavController??, snackStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>, showProgressBar: Boolean = false, viewModel: ApprovedPreApprovalsScreenViewModel?)

Renders the Collection Approved Pre-Approvals screen: an account-holder input plus a fetch action, then one card per approved pre-approval — each with its own Cancel button keyed on that record's preApprovalId.

Parameters

navController

Used by the drawer; may be null in previews.

snackStateFlow

Flow of snackbar messages.

showProgressBar

Whether to show the loading indicator.

viewModel

Provides form state and the fetch/cancel actions; null in previews.