TabsProps Interface

Properties for the HorizontalTabs and VerticalTabs components

Extends

Methods

Name Description
onActivateTab(index: number): any Optional Handler for activating a tab  
onClickLabel(index: number): any Optional Handler for clicking on a label Deprecated  

Properties

Name Type Description
activeIndex undefined | number Index of the initial active tab  
green undefined | boolean Indicates whether the bar on the active tab is green instead of the default blue  
labels string | TabLabel[] Text shown for each tab @beta  

Defined in

Last Updated: 12 June, 2024