link

fun link(build: MenuLink.() -> Unit)

Configures and adds a MenuLink to the menu.

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

Parameters

build

Lambda to configure the component itself


fun link(styling: Style<BoxParams>, build: MenuLink.() -> Unit)

Configures and adds a MenuLink to the menu.

Parameters

styling

Style to be applied to the component

build

Lambda to configure the component itself