UNPKG

964 BTypeScriptView Raw
1import * as React from 'react';
2import { TypographyTypeMap } from '../Typography';
3import { OverrideProps, OverridableComponent } from '../OverridableComponent';
4
5export interface DialogContentTextTypeMap<
6 P = {},
7 D extends React.ElementType = TypographyTypeMap['defaultComponent']
8> {
9 props: P & TypographyTypeMap['props'];
10 defaultComponent: D;
11 classKey: DialogContentTextClassKey;
12}
13
14export type DialogContentTextClassKey = 'root';
15
16/**
17 *
18 * Demos:
19 *
20 * - [Dialogs](https://mui.com/components/dialogs/)
21 *
22 * API:
23 *
24 * - [DialogContentText API](https://mui.com/api/dialog-content-text/)
25 * - inherits [Typography API](https://mui.com/api/typography/)
26 */
27declare const DialogContentText: OverridableComponent<DialogContentTextTypeMap>;
28
29export type DialogContentTextProps<
30 D extends React.ElementType = DialogContentTextTypeMap['defaultComponent'],
31 P = {}
32> = OverrideProps<DialogContentTextTypeMap<P, D>, D>;
33
34export default DialogContentText;