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

MenuHeader
Link copied to clipboard
js
fun MenuHeader(styling: Style<BoxParams> = {})
Optional styling to be applied to the underlying div-element

Functions

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

Properties

text
Link copied to clipboard
js
val text: ComponentProperty<String>