Representation

@Composable
open override fun <T> Representation(state: ContextMenuState, menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit, items: List<T>)

Creates a popup representation of the context menu.

Parameters

state

The current state of the context menu

menuContent

A composable function that renders the content of the menu

items

The list of items to be displayed in the context menu