Tabs API

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

Props

Props

Type

Description

Default

defaultValue?

string

The default selected value for the Tabs component

_

selectedValue?

string

The selected value for the Tabs when used as controlled component. Use this in conjunction with onSelectedValueChange

_

onSelectedValueChange?

function

Dispatch 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 component

standard