v14.2.0

Playroom

Github

Tabs

View Source

A single content area with multiple panels, each associated with a header in a list.

Content for tab 1
Copy
Edit
Content for tab 1
Copy
Edit

Props

activeIndexnumber

Controls the active Tab and TabPanel.

Used in place of activeIndex for uncontrolled components.

onChangeFunction

Called when the active tab should change.

returns nextActiveIndex

  • Props
PreviousTabNextToolbar