Page MenuHomec4science

DialogTitle.d.ts
No OneTemporary

File Metadata

Created
Mon, Jan 27, 05:54

DialogTitle.d.ts

import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
import { Theme } from '../styles';
import { TypographyTypeMap } from '../Typography';
import { DialogTitleClasses } from './dialogTitleClasses';
export interface DialogTitleTypeMap<
P = {},
D extends React.ElementType = TypographyTypeMap['defaultComponent'],
> {
props: P & {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<DialogTitleClasses>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
} & Omit<TypographyTypeMap['props'], 'classes'>;
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Dialog](https://mui.com/material-ui/react-dialog/)
*
* API:
*
* - [DialogTitle API](https://mui.com/material-ui/api/dialog-title/)
*/
declare const DialogTitle: OverridableComponent<DialogTitleTypeMap>;
export type DialogTitleProps<
D extends React.ElementType = DialogTitleTypeMap['defaultComponent'],
P = { component?: React.ElementType },
> = OverrideProps<DialogTitleTypeMap<P, D>, D>;
export default DialogTitle;

Event Timeline