Tabs

This is a controlled component and therefore relies on the parent component to determine the selected tab and respond to changes in selection.

Example

API

Name Type Default Description
items array A list of tab items
onSelected(id, event) function A function that is invoked when a tab is selected. It is passed the selected id and the event.
selected string The value of the tab to highlight.

Used by

Team Product
Zoidberg TaxOnline

Usage

Example