import * as React from 'react'; import { OverrideProps } from '@mui/types'; import { SlotProps, CreateSlotsAndSlotProps, SlotCommonProps } from '../../types/slot'; import { TypographyProps } from '../../Typography'; export type DialogHeaderSlot = 'root'; export interface DialogHeaderSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type DialogHeaderSlotsAndSlotProps = CreateSlotsAndSlotProps; headline: TypographyProps; supportingText: TypographyProps; }>; export interface DialogHeaderTypeMap

{ props: P & { /** * Icon for dialog header. */ icon?: React.ReactNode; /** * Supporting text for dialog header. */ supportingText?: React.ReactNode; } & DialogHeaderSlotsAndSlotProps; defaultComponent: D; } export type DialogHeaderProps = OverrideProps, D>; export interface DialogHeaderOwnerState extends DialogHeaderProps { }