MainScreen

fun MainScreen(viewModel: EduskuntaViewModel, onMainClick: () -> Unit)

Main screen of the app.

Parameters

viewModel

The view model for the app.

onMainClick

The function to be called when the main button is clicked.