Representation

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

Creates a minimal representation of the context menu without any UI container.

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