Перейти к контенту

TabList API

API documentation for the React TabList component. Learn about the available props, and the CSS API.

Import

import TabList from '@material-ui/lab/TabList';
// или
import { TabList } from '@material-ui/lab';
You can learn about the difference by reading this guide on minimizing bundle size.

Props

ИмяТипПо-умолчаниюОписание
childrennodeA list of <Tab /> elements.

The ref is forwarded to the root element.
Any other props supplied will be provided to the root element (Tabs).

Inheritance

While not explicitly documented above, the props of the Tabs component are also available on TabList. You can take advantage of this to target nested components.

Demos