MenuHeader

open class MenuHeader(styling: Style<BoxParams> = {}) : MenuChild

This class combines the configuration and the core rendering of a MenuHeader.

A header can be used to introduce a group of menu entries and separate them from the entries above. It simply consists of a styled text.

Parameters

styling

Optional styling to be applied to the underlying div-element

Constructors

Link copied to clipboard
fun MenuHeader(styling: Style<BoxParams> = {})

Functions

Link copied to clipboard
open override fun render(context: RenderContext, styles: MenuStyles)

Properties

Link copied to clipboard
val text: ComponentProperty<String>