Tabs
Last updated
Last updated
A simple tabs component.
items
(required)Type: Array
of React nodes
The items that are going to be displayed in every tab.
selected
Type: Number
Default: 0
The currently selected tab, using its index.
onChange
Type: Function
When a tab is selected, this function gets called with the index of the tab as a parameter.