kvision / pl.treksoft.kvision.dropdown / header

header

fun ContextMenu.header(content: String? = null, classes: Set<String> = setOf()): Header
fun DropDown.header(content: String? = null, classes: Set<String> = setOf()): Header

DSL builder extension function.

It takes the same parameters as the constructor of the built component.