KontextMenuPopup

@Composable
fun KontextMenuPopup(status: ContextMenuState.Status.Open, onDismissRequest: () -> Unit? = null, content: @Composable (() -> Unit?) -> Unit)

A composable function that creates a popup for displaying context menu content.

This popup is positioned at the center of the provided status rectangle and handles keyboard navigation (up/down arrows) for the menu items. It also provides an onDismiss request handler to close the popup.

Parameters

status

The open status of the context menu, containing the position information

onDismissRequest

Optional callback to invoke when the popup should be dismissed

content

A composable function that renders the content of the popup