import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../types/slot'; import { OverrideProps } from '@mui/types'; import { TypographyProps } from '../Typography'; export type ListItemContentSlot = 'root'; export interface ListItemContentSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; /** * The component that renders the primary slot. * @default Typography */ primary?: React.ElementType; /** * The component that renders the secondary slot. * @default Typography */ secondary?: React.ElementType; } export type ListItemContentSlotsAndSlotProps = CreateSlotsAndSlotProps; primary: SlotProps<'span', TypographyProps, ListItemContentOwnerState>; secondary: SlotProps<'span', TypographyProps, ListItemContentOwnerState>; }>; export interface ListItemContentTypeMap

{ props: P & ListItemContentSlotsAndSlotProps & { /** * If `true`, the children are indented. * This should be used if there is no left avatar or left icon. * @default false */ inset?: boolean; /** * The main content element. */ primary?: React.ReactNode; /** * The secondary content element. */ secondary?: React.ReactNode; }; defaultComponent: D; } export type ListItemContentProps = OverrideProps, D>; export interface ListItemContentOwnerState extends ListItemContentProps { }