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

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

Functions

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