import * as React from 'react'; import { OverridableStringUnion, OverrideProps } from '@mui/types'; import { TabPanelOwnProps } from '@mui/base/TabPanel'; import { ColorPaletteProp, SxProps, VariantProp, ApplyColorInversion } from '../styles/types'; import { SlotProps, CreateSlotsAndSlotProps } from '../utils/types'; export type TabPanelSlot = 'root'; export interface TabPanelSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type TabPanelSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface TabPanelPropsColorOverrides { } export interface TabPanelPropsVariantOverrides { } export interface TabPanelPropsSizeOverrides { } export interface TabPanelTypeMap

{ props: P & Omit & { /** * The color of the component. It supports those theme colors that make sense for this component. * @default 'neutral' */ color?: OverridableStringUnion; /** * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected. * @default 0 */ value?: number | string; /** * The size of the component. */ size?: OverridableStringUnion<'sm' | 'md' | 'lg', TabPanelPropsSizeOverrides>; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * The [global variant](https://mui.com/joy-ui/main-features/global-variants/) to use. * @default 'plain' */ variant?: OverridableStringUnion; /** * Always keep the children in the DOM. * @default false */ keepMounted?: boolean; } & TabPanelSlotsAndSlotProps; defaultComponent: D; } export type TabPanelProps = OverrideProps, D>; export interface TabPanelOwnerState extends ApplyColorInversion { /** * If `true`, the element is not visible on the screen. */ hidden: boolean; /** * The orientation of the Tabs. */ orientation?: 'horizontal' | 'vertical'; }