toKontextMenu

fun toKontextMenu(menuContent: @Composable (items: List<T>, onDismissRequest: () -> Unit?) -> Unit): IKontextMenuArea<T>

Creates an IKontextMenuArea with the collected items and the provided menu content.