import * as React from 'react'; import { SxProps } from '../../types/theme'; import { OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotProps } from '../../types/slot'; export interface TabIndicatorSlots { /** * The component that renders the root. * @default 'span' */ root?: React.ElementType; } export type TabIndicatorSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface TabIndicatorOwnProps { /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; /** * If `true`, renders the indicator without animation on first render. * Useful for server-side rendering to prevent layout shifts. * @default false */ renderBeforeHydration?: boolean; } export interface TabIndicatorTypeMap

{ props: P & TabIndicatorOwnProps & TabIndicatorSlotsAndSlotProps; defaultComponent: D; } export type TabIndicatorProps = OverrideProps, D>; export interface TabIndicatorOwnerState extends TabIndicatorProps { /** * The orientation of the tabs. */ orientation: 'horizontal' | 'vertical'; /** * If `true`, the indicator is visible. */ visible: boolean; /** * If `true`, RTL direction is active. */ isRtl: boolean; }