TabContext API
导入
import TabContext from '@mui/lab/TabContext';
// 或
import { TabContext } from '@mui/lab';属性
原生(Native) 组件的属性也是可用的。
| 名称 | 类型 | 默认值 | 描述 | 
|---|---|---|---|
| value* | string | The value of the currently selected  Tab. | |
| children | node | The content of the component. | 
组件无法持有 ref。