import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../../types/slot'; import { TypographyProps } from '../../Typography'; export type DrawerNavGroupSlot = 'root'; export interface DrawerNavGroupSlots { /** * The component that renders the root. * @default 'ul' */ root?: React.ElementType; /** * The component that renders the header. * @default Typography */ header?: React.ElementType; } export type DrawerNavGroupSlotsAndSlotProps = CreateSlotsAndSlotProps; header: SlotProps<'span', TypographyProps, DrawerNavGroupOwnerState>; }>; export interface DrawerNavGroupTypeMap

{ props: P & DrawerNavGroupSlotsAndSlotProps & { /** * The header content of the DrawerNavGroup. */ header?: React.ReactNode; }; defaultComponent: D; } export type DrawerNavGroupProps = OverrideProps, D>; export interface DrawerNavGroupOwnerState extends DrawerNavGroupProps { expanded?: boolean; }