tab

fun TabPanel.tab(label: String? = null, icon: String? = null, image: ResString? = null, closable: Boolean = false, route: String? = null, init: Tab.() -> Unit? = null): Tab

DSL builder extension function.

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