ButtonBlock

fun ButtonBlock(primaryButton: @Composable () -> Unit, secondaryButton: @Composable () -> Unit? = null, modifier: Modifier = Modifier)

DHIS2 ButtonBlock with generic buttons slot.

Parameters

primaryButton

Controls first or primary button, if there is only one it will be centered, otherwise spaced equally

secondaryButton

Controls the second button to be shown

modifier

allow a modifier to be passed to the composable.