MenuOwnProps

Types

Link copied to clipboard
interface SlotProps

Properties

Link copied to clipboard
abstract var actions: Ref<MenuActions>?

A ref with imperative actions that can be performed on the menu.

Link copied to clipboard
abstract var anchor: Any?

The element based on which the menu is positioned.

Link copied to clipboard
abstract override var children: ReactNode?
Link copied to clipboard
abstract override var className: ClassName?
Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var onItemsChange: (ReadonlyArray<String>) -> Unit?

Function called when the items displayed in the menu change.

Link copied to clipboard

The props used for each slot inside the Menu.

Link copied to clipboard
abstract var slots: MenuSlots?

The components used for each slot inside the Menu. Either a string to use a HTML element or a component.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()