StylishContextMenu

fun StylishContextMenu(expanded: Boolean, onDismissRequest: () -> Unit, items: List<StylishMenuItem>, modifier: Modifier = Modifier, content: @Composable () -> Unit)

Controlled context menu primitive.

Parameters

expanded

Whether the menu is currently visible.

onDismissRequest

Called when the menu should be closed.

items

Actions displayed in the menu.

modifier

Modifier applied to the anchor/content container.

content

Composable content that anchors the menu.