FailurePlaceholder

fun FailurePlaceholder(modifier: Modifier = Modifier, onRetryClick: () -> Unit = {})

Represents a placeholder for the failure screen. This contains ScreenPlaceholder with an error icon and a text and also contains a retry button to retry the action.

Since

1.0.0-beta.1

Parameters

modifier

The modifier to be applied to the view.

onRetryClick

The handler for when the retry button is clicked.