SimpleMenu
fun SimpleMenu(modifier: Modifier = Modifier, shape: Shape = RoundedCornerShape(topStart = 16.dp, topEnd = 16.dp), overlayColor: Color = ChatTheme.colors.backgroundCoreScrim, onDismiss: () -> Unit = {}, headerContent: @Composable ColumnScope.() -> Unit = {}, centerContent: @Composable ColumnScope.() -> Unit = {})
Deprecated
Use ChannelActionsSheet or a Material 3 ModalBottomSheet directly. Will be removed in v8.
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.