Class: Tab

Tab

Tab renders a set of tabs.

Constructor

new Tab(props)

Parameters:
Name Type Description
props Object
Properties
Name Type Description
name String The name of this tab (Used to tell if it is active)
textLabel String The text label for this tab.
onClick function A callback called with the tab name when this tab is clicked.
onActive function A callback called when the tab becomes active.
Source: