import * as React from 'react'; import { CreateSlotsAndSlotProps, SlotProps } from '../../types/slot'; import { OverrideProps } from '@mui/types'; import { SxProps } from '../../types/theme'; export interface TabPanelSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type TabPanelSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface TabPanelOwnProps { /** * The content of the component. */ children?: React.ReactNode; /** * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected. * @default 0 */ value?: number | string; } export interface TabPanelTypeMap

{ props: P & TabPanelOwnProps & { /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * Always keep the children in the DOM. * @default false */ keepMounted?: boolean; } & TabPanelSlotsAndSlotProps; defaultComponent: D; } export type TabPanelProps = OverrideProps, D>; export interface TabPanelOwnerState extends TabPanelProps { /** * If `true`, the element is not visible on the screen. */ hidden: boolean; /** * The orientation of the Tabs. */ orientation?: 'horizontal' | 'vertical'; }