kontextMenuArea

inline fun <T> kontextMenuArea(noinline menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit, builder: Builder<T>.() -> Unit): IKontextMenuArea<T>

Creates an IKontextMenuArea with a builder pattern.

This function provides a convenient way to create an IKontextMenuArea using a builder pattern.

Return

A configured IKontextMenuArea

Parameters

menuContent

A composable function that renders the content of the menu

builder

A builder function to configure the IKontextMenuArea