ProgressIndicator

fun ProgressIndicator(modifier: Modifier = Modifier, type: ProgressIndicatorType, progress: Float? = null, hasError: Boolean = false)

DHIS2 Progress indicator Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates. They communicate an app’s state and indicate available actions, such as whether users can navigate away from the current screen.

Parameters

modifier

: optional modifier.

progress

: indicates the loading progress

hasError

: manages whether to show error or not.