UNPKG

747 BTypeScriptView Raw
1import * as React from 'react';
2import { StandardProps } from '..';
3
4export interface DialogTitleProps
5 extends StandardProps<React.HTMLAttributes<HTMLDivElement>, DialogTitleClassKey> {
6 /**
7 * The content of the component.
8 */
9 children?: React.ReactNode;
10 /**
11 * If `true`, the children won't be wrapped by a typography component.
12 * For instance, this can be useful to render an h4 instead of the default h2.
13 */
14 disableTypography?: boolean;
15}
16
17export type DialogTitleClassKey = 'root';
18
19/**
20 *
21 * Demos:
22 *
23 * - [Dialogs](https://material-ui.com/components/dialogs/)
24 *
25 * API:
26 *
27 * - [DialogTitle API](https://material-ui.com/api/dialog-title/)
28 */
29export default function DialogTitle(props: DialogTitleProps): JSX.Element;