AppEmptyState

fun AppEmptyState(title: String, description: String, modifier: Modifier = Modifier, imageSource: AppImageSource? = null, primaryText: String? = null, onPrimary: () -> Unit? = null, secondaryText: String? = null, onSecondary: () -> Unit? = null)

A component to display an empty state with an image, title, and description. This component uses AppFeedback as its base.

Parameters

title

The title text to display.

description

The description text to display.

modifier

The Modifier to be applied to the layout.

imageSource

The source of the empty state image (URL or Resource).

primaryText

Text for the primary action button.

onPrimary

Callback for the primary action button.

secondaryText

Text for the secondary action button.

onSecondary

Callback for the secondary action button.