MenuDivider

open class MenuDivider(styling: Style<BoxParams>) : MenuChild

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

Similar to a header a divider can be used to group entries together. Compared to a header a divider displays a thin line rather than a text.

Parameters

styling

Optional styling to be applied to the underlying div-element

Constructors

MenuDivider
Link copied to clipboard
js
fun MenuDivider(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)