跳转到内容
Ctrl+K

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.

属性

名称类型默认值描述
childrenArray<element>A list of <Tab /> elements.

ref 则会被传递到根元素中。
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


TabContext
这个页面是否有用?
TabPanel
感谢您的反馈 !

请让我们知道我们可以做些什么来改善这个页面。