separator

fun ContextMenu.separator(className: String? = null): Separator
fun DropDown.separator(className: String? = null): Separator

DSL builder extension function.

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