1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { TypographyTypeMap } from '../Typography';
|
4 | import { OverrideProps, OverridableComponent } from '../OverridableComponent';
|
5 | import { Theme } from '../styles';
|
6 | import { DialogContentTextClasses } from './dialogContentTextClasses';
|
7 |
|
8 | export interface DialogContentTextOwnProps extends Omit<TypographyTypeMap['props'], 'classes'> {
|
9 | |
10 |
|
11 |
|
12 | classes?: Partial<DialogContentTextClasses>;
|
13 | |
14 |
|
15 |
|
16 | sx?: SxProps<Theme>;
|
17 | }
|
18 |
|
19 | export interface DialogContentTextTypeMap<
|
20 | AdditionalProps = {},
|
21 | RootComponent extends React.ElementType = TypographyTypeMap['defaultComponent'],
|
22 | > {
|
23 | props: AdditionalProps & DialogContentTextOwnProps;
|
24 | defaultComponent: RootComponent;
|
25 | }
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 | declare const DialogContentText: OverridableComponent<DialogContentTextTypeMap>;
|
39 |
|
40 | export type DialogContentTextProps<
|
41 | RootComponent extends React.ElementType = DialogContentTextTypeMap['defaultComponent'],
|
42 | AdditionalProps = {},
|
43 | > = OverrideProps<DialogContentTextTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
|
44 | component?: React.ElementType;
|
45 | };
|
46 |
|
47 | export default DialogContentText;
|