MenuItem

sealed class MenuItem

Inheritors

Types

Link copied to clipboard
class Checkbox(val text: String, val icon: IconComposable? = null, val keyboardShortcut: Set<String> = emptySet(), val checked: MutableState<Boolean>) : MenuItem
Link copied to clipboard
class Group(val text: String = "", val icon: IconComposable? = null, val items: List<MenuItem>) : MenuItem
Link copied to clipboard
class Item(val text: String, val icon: IconComposable? = null, val keyboardShortcut: Set<String> = emptySet(), val onClick: () -> Unit) : MenuItem
Link copied to clipboard
class Separator(val text: String = "") : MenuItem