Tab
constructor(label: String? = null, icon: String? = null, activeIcon: String? = null, badge: String? = null, active: Boolean? = null, className: String? = null, init: Tab.() -> Unit? = null)(source)
Creates a tab component.
Parameters
label
the label of the tab item
icon
the name of the icon
activeIcon
the name of the icon when the tab is active
badge
display a notification badge on top of the tab
active
whether this tab is active on start
className
CSS class names
init
an initializer extension function