PartyListScreen

fun PartyListScreen(onPartyClick: (String) -> Unit, onBack: () -> Unit, viewModel: EduskuntaViewModel)

Screen for displaying the list of parties.

Parameters

onPartyClick

The function to be called when a party is clicked.

onBack

The function to be called when the back button is pressed.

viewModel

The view model for the app.