SimpleMenu

fun SimpleMenu(modifier: Modifier = Modifier, shape: Shape = ChatTheme.shapes.bottomSheet, overlayColor: Color = ChatTheme.colors.overlay, onDismiss: () -> Unit = {}, headerContent: @Composable ColumnScope.() -> Unit = {}, centerContent: @Composable ColumnScope.() -> Unit = {})

Represents a reusable and generic modal menu useful for showing info about selected items.

Parameters

modifier

Modifier for styling.

shape

Changes the shape of the dialog.

overlayColor

The color applied to the overlay.

onDismiss

Handler called when the dialog is dismissed.

headerContent

The content shown at the top of the dialog.

centerContent

The content shown in the dialog.