OperationActionButton

fun OperationActionButton(text: String, onClick: () -> Unit, modifier: ERROR CLASS: Symbol not found for Modifier = Modifier, enabled: Boolean = true, backgroundColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colors.secondary, contentColor: ERROR CLASS: Symbol not found for Color = MaterialTheme.colors.onSecondary)

A full-width primary action button using the MTN accent color by default.

Parameters

text

The button label.

onClick

Click callback.

modifier

Modifier applied to the button.

enabled

Whether the button is enabled; defaults to true.

backgroundColor

The button background; defaults to the theme secondary (MTN accent).

contentColor

The label/content color; defaults to the theme onSecondary.