header

fun ContextMenu.header(content: String? = null, className: String? = null): Header
fun DropDown.header(content: String? = null, className: String? = null): Header

DSL builder extension function.

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