/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/mui-lab/src/TabPanel/TabPanel.d.ts
42 строки
1 KB
Siriwat K
[internal] Prepare libraries for v9 stable release (#48206)
07 апр 2026, 11:54
Не верифицирован
07 апр 2026, 11:54
e4de3e2
Код
Авторство
О чём код?
import * as React from 'react'; import { InternalStandardProps as StandardProps } from '@mui/material/internal'; import { Theme } from '@mui/material/styles'; import { SxProps } from '@mui/system'; import { TabPanelClasses } from './tabPanelClasses'; export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial<TabPanelClasses> | undefined; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme> | undefined; /** * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when * no `value` was passed to `Tab`. */ value: string | number; /** * Always keep the children in the DOM. * @default false */ keepMounted?: boolean | undefined; } /** * * Demos: * * - [Tabs](https://mui.com/material-ui/react-tabs/) * * API: * * - [TabPanel API](https://mui.com/material-ui/api/tab-panel/) */ export default function TabPanel(props: TabPanelProps): React.JSX.Element;