entry

fun entry(build: MenuEntry.() -> Unit)

Configures and adds a MenuEntry to the menu.

Use the overloaded version of this method to specify additional styling.

Parameters

build

Lambda to configure the component itself

fun entry(styling: Style<BoxParams>, build: MenuEntry.() -> Unit)

Configures and adds a MenuEntry to the menu.

Parameters

styling

Style to be applied to the component

build

Lambda to configure the component itself