The children to render that should eventually have the Tabs component and
the TabContent for matching specific tabs.
The index of the tab that should be active by default. This is ignored if
the activeIndex prop is defined.
Boolean if the icon should appear after the text instead of before for all
the tabs that have an icon. When the stacked prop is also enabled, it
will cause the icon to appear below the text instead of above.
This is mostly a convenience prop so that you don't manually need to enable
it for each tab in the tabs list and if a tab in the tabs list has
the stacked attribute enabled defined, it will be used instead of this
value.
A function to call when the activeIndex should change due to keyboard
movement or clicking on a tab.
Boolean if all the tabs that have icons should be stacked instead of
rendered inline.
This is mostly a convenience prop so that you don't manually need to enable
it for each tab in the tabs list and if a tab in the tabs list has
the stacked attribute enabled defined, it will be used instead of this
value.
The list of tabs that should be controlled by the tabs manager.
This is an id prefix to use for all the child Tab, TabList, and TabPanel components.
Generated using TypeDoc
If you want to control the current active index instead of relying on the built in behavior, you can provide an
activeIndexprop which will be used instead. If this prop is defined, you must also provide theonActiveIndexChangeso that keyboard functionality and tab changing behavior can still be used.