Tabs API

API reference docs for theTabscomponent. For examples and details on the usage of this component, visit the component demo page.

Props

PropsTypeDescriptionDefault
defaultValue?stringThe default selected value for the Tabs component_
selectedValue?stringThe selected value for the Tabs when used as controlled component. Use this in conjunction with onSelectedValueChange_
onSelectedValueChange?functionDispatch function for updating the selected value of the Tabs when used as controlled component. Use this in conjunction with selectedValue_
size?'small' | 'standard'The size of the Tabs componentstandard