跳转到内容

TabList API

The API documentation of the TabList React component. Learn more about the props and the CSS customization points.

Import

import TabList from '@material-ui/lab/TabList';
// or
import { TabList } from '@material-ui/lab';

You can learn more about the difference by reading this guide.

Props

Name Type Default Description
children Array<element>

The ref is forwarded to the root element.

Any other props supplied will be provided to the root element (Tabs).

Inheritance

The props of the Tabs component are also available. You can take advantage of this behavior to target nested components.

Demos